Re: fsck remounts / read-write?

From: Yar Tikhiy <yar_at_comp.chem.msu.su>
Date: Tue, 5 Feb 2008 19:57:58 +0300
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:
> 
> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/106636

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).

-- 
Yar
Received on Tue Feb 05 2008 - 15:58:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC