On Thu, Mar 08, 2007 at 12:44:05AM +0100, David Härdeman wrote:
> >initramfs-tools already supports using /dev/disk/by-* entries in fstab. As
> >for the installer, I'm not sure that looking at Ubuntu will help since
> >they use something different than d-i for the regular installs (and I
> >don't know if their d-i based installer has any
> >mount-by-label/uuid/whatever fixes).

> >It would be pretty simple to implement as a late_command script though,
> >quick pseudo-code:
> >...

> I've attached a patch which implements persistent device names in 
> partman by checking for devices which are mounted under /target and 
> which have a suitable link in /dev/disk/by-id/*

> For each device that is found, /target/etc/fstab is modified 
> appropriately.

Thanks for the patch, David.

I don't believe this should be changed for etch at this point in the release
process, and that's speaking as someone who's run into this problem myself
with SCSI device renumbering -- it's awkward and annoying to have to
manually fiddle your boot config because a USB device is no longer
registering as /dev/sda, and it's not in line with the quality of experience
that our users have come to expect when installing Debian >:), but I don't
think that makes anything unreleasable.  Changing the fstab handling at this
point could break many other scenarios that we haven't thought of and tested
for, whereas the USB issue can be documented in the errata.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Reply via email to