fsck remounts / read-write?
    Yar Tikhiy 
    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:
> 
> 	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
    
    
More information about the freebsd-current
mailing list