mount by uuid?
Andreas Jellinghaus
aj at dungeon.inka.de
Sun Apr 16 17:03:41 UTC 2006
Hi,
can ubuntu initrd/ramfs by default mount the real root by uuid?
or would I need to write scanning code etc. myself?
one application is a ubuntu usb stick: if the machine has only
pata, the usb stick is most likely sda. if the machine has scsi
or sata, the usb stick might be sdb or sdc. because of that
it is not possible to say what root= will be. but the uuid of
the filesystem would be known, so if ubuntu could mount by
uuid, that would be very helpful.
also I have no idea how that would be typically implemented.
I think I saw at least once patches for mount to do that,
but not sure. also maybe udev can do these things, not sure.
what way would you suggest to find a filesystem by uuid?
Regards, Andreas
More information about the ubuntu-users
mailing list