On Tuesday 01 November 2005 21:50, Sven Luther wrote: > I think it would be better for yaird to use /etc/mtab instead of > /etc/fstab to parse for the root mount point, in effect, this one is > guaranteed to be always full fielded, and not have any of the problems > related to strangely filled user entries in the /etc/fstab. Note that /etc/mtab will not be up-to-date if the / filesystem is mounted read-only. > /dev/hda12 on / type ext3 (rw,noatime,errors=remount-ro,commit=600) > Notice that i did remember some code in debian-installer doing exactly > this, but i don't remember where it was. d-i seems to use the /etc/mtab of the installed system while installing some bootloaders, but d-i itself makes sure itself that it is updated before it is used. I other cases the /etc/mtab of the installer itself is used, which is a symlink to /proc/mounts... So IMHO usage of /etc/mtab in d-i can hardly be a convincing argument.
Attachment:
pgpNe8aG2PnFQ.pgp
Description: PGP signature