Re: initrd redesign (was Re: Partition nightmare Was: Migrating to larger numbers)

Werner Almesberger (almesber@lrc.di.epfl.ch)
Tue, 15 Jun 1999 14:30:50 +0200


Alexander Viro wrote:
> Plan 9 ones.

Ah, this. Is this something that somebody is working on ? People have been
talking about Plan 9 name spaces for many years, but it seems that not too
much emerged from that.

>> Isn't the device file sufficient ?
>
> For NFS?

Major 0, minor dynamically assigned. Fairly trivial to use with something
like the /proc/mount-devs I've proposed. As far as the device file is
concerned, you can either

- create it on the fly (e.g. LILO does that if it doesn't find anything
suitable in /dev)
- populate /dev with unnamed0, unnamed1, etc.
- get devfs to do all this for you (if you have devfs)
- create a /proc/unnamed-dev/<number> virtual directory

Each of the solutions looks a bit hackish, but then maybe it's just a
question of getting used to it ;-)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/