On Fri, June 27, 2008 22:53, Guido wrote: > Attached is a small patch that adds the basic infrastructure to > partman-target. To do this the number of arguments passed around by > parted to describe the filesystem has to be extended from 6 to 7. The > 7th argument is the label. The first hunk replaces the device name by > the label (if set), the second makes sure we mount by device and not by > label during installation since busybox can't handle it. > Of course every fs module needs to pass on the label if wants to support > labeled mounts (I'll attach a patch to partman-ext3).
If you use /dev/disk/by-label/SOMETHING paths in fstab instead of LABEL=SOMETHING you might not need to do any workarounds for busybox (and it's a much cleaner solution IMHO). It would also be nice to use the other variants of /dev/disk/by-*/ when no label has been specified for the device (which would give persistent device names in other situations as well). -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]