Linux-kernel mailing list archive 1999-23,: Re: Devfs, was Re: Migrating to larger numbers

# Re: Devfs, was Re: Migrating to larger numbers

Werner Almesberger (almesber@lrc.di.epfl.ch)
Sat, 12 Jun 1999 14:52:14 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Riley Williams: "Re: holes for ISA boards..."
- Previous message: Ingo Molnar: "Re: New schedule() and semaphore implementation ..."
- In reply to: Werner Almesberger: "Re: Devfs, was Re: Migrating to larger numbers"

I wrote:
> I'd favour this approach, because it defers label to device translation to
> boot time.

I forgot to add that this creates a bit of problem if "root = current"
is selected in LILO.

First of all, this could be the device or the disk as identified by the
label. Maybe the best approach would be to use both, and to try the
label first. If no corresponding disk is found, the kernel or whatever
mounts the root FS should fall back to using the device. This will
annoy those who really mean to use that specific device, but they can
of course configure it explicitly.

The second problem is how to obtain this information. Is scanning
/proc/mounts if the FS is ext2, and then system'ing dumpe2fs (or
dumpwhateverfs for other file systems) the "right" approach ? Looks a
bit messy to me.

- 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/

- Next message: Riley Williams: "Re: holes for ISA boards..."
- Previous message: Ingo Molnar: "Re: New schedule() and semaphore implementation ..."
- In reply to: Werner Almesberger: "Re: Devfs, was Re: Migrating to larger numbers"