Date: Tue, 5 Feb 2008 19:57:58 +0300 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Ed Schouten <ed@fxq.nl> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: fsck remounts / read-write? Message-ID: <20080205165758.GC56373@comp.chem.msu.su> In-Reply-To: <20080203133019.GL1179@hoeg.nl> References: <20080203121514.GI3539@comp.chem.msu.su> <20080203133019.GL1179@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 03, 2008 at 02:30:19PM +0100, Ed Schouten wrote: > * Yar Tikhiy <yar@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080205165758.GC56373>