[Pkg-sysvinit-devel] Bug#538725: Bug#538725: checkroot.sh: fails if root not in fstab
Robert Hart
rhart at bathterror.free-online.co.uk
Sun Jul 26 20:27:49 UTC 2009
On Sun, Jul 26, 2009 at 07:37:18PM +0200, Petter Reinholdtsen wrote:
> As fstab is the correct and standardized way to specify mount points,
> I do not see the advantages of adding confusion by providing another
> way to specify which device to check for the root file system to
> handle a broken configuration with no root entry in /etc/fstab.
I agree that not having root in /etc/fstab isn't something we should
support, but equally checkroot.sh calling fsck with invalid input is
something that could and should be avoided. (I only made the suggestion,
because it also looks like you go to a great deal of effort to parse
fstab to find the root device so if there were another way it might turn
out to be generally less fragile... )
>
> How did you loose your root entry from /etc/fstab.
Haven't the foggiest. According to the timestamp it was edited in
December, so it shows how frequently I do a proper reboot.
More information about the Pkg-sysvinit-devel
mailing list