[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488321: support labeled mounts



Package: partman-target
Version: 55
Severity: wishlist

Hi,
since device names aren't always persistent between installation and
target system, and since people want to create partimages that can
be deployed without modification on sata as well as pata systems it
would be nice if d-i would support labeled mounts.
This would do away with the need for device names in /etc/fstab, one
can simply uses the label.
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).
 -- Guido



Reply to: