fsck remounts / read-write?
yar at comp.chem.msu.su
Tue Feb 5 16:58:05 UTC 2008
On Sun, Feb 03, 2008 at 02:30:19PM +0100, Ed Schouten wrote:
> * Yar Tikhiy <yar at comp.chem.msu.su> wrote:
> > Hi all,
> > Has anybody else noticed the following strangeness: running fsck
> > on the read-only / (from single user) results in the / mount upgraded
> > to read-write? E.g.:
> > I guess that `fsck /' issues a mount reload after modifying the FS,
> > but IMHO it shouldn't remount the FS read-write, should it?
> Could be related to this PR:
Thank you for the pointer to your PR! Then the bug might be related
to the new nmount(2) syscall, which is used now by fsck(8) and mountd(8).
More information about the freebsd-current