[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/43905: fsck_root fails on write protected partition
The following reply was made to PR misc/43905; it has been noted by GNATS.
From: Alan Barrett <apb%cequrux.com@localhost>
Subject: Re: misc/43905: fsck_root fails on write protected partition
Date: Sun, 26 Sep 2010 21:50:30 +0200
On Sat, 25 Sep 2010, bad%bsd.de@localhost wrote:
> There's at least two bugs here:
> 1) fsck aborts because it can't get write access to the block device
> even thought he file system is clean and it doesn't actually want to write
> to the device anyway.
/etc/rc.d/fsck_root invoked "fsck -p /" (assuming that fsck_flags had
the default value of "-p"). Given that, it's not clear to me that fsck
should have behaved any differently. (It is clear that the fsck_root
script should not have invoked fsck, but that falls under your point 2
> 2) valid fstabs that have been working since at least 3.0 suddenly fail
Yes, a missing fs_passno in /etc/fstab should behave like fs_passno-0,
and should prevent the fsck_root script from trying to fsck the root
file system. I see you fixed that already.
--apb (Alan Barrett)
Main Index |
Thread Index |