David Woodhouse wrote:
> 
> [EMAIL PROTECTED] said:
> >  One reason why this may NOT ever make it into the kernel is that I
> > know "kernel poking at devices" is really frowned upon.
> 
> A possible alternative is to specify drives by serial number.

Currently mount(8) supports mounting by '-L <label>' and '-U <UUID>'. 
Most modern mke2fs proggies will assign a UUID to each newly created
filesystem.  For /etc/fstab, you can specify LABEL=xxx or UUID=xxx
instead of a device name.

The one thing I don't know is... can the kernel mount the root fs if
only given the uuid?

        Jeff


-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to