Date: Sun, 3 Feb 2008 14:30:19 +0100 From: Ed Schouten <ed@fxq.nl> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: fsck remounts / read-write? Message-ID: <20080203133019.GL1179@hoeg.nl> In-Reply-To: <20080203121514.GI3539@comp.chem.msu.su> References: <20080203121514.GI3539@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] * 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.: > > Trying to mount root from ufs:/dev/ad0s3a > WARNING: / was not properly dismounted > start_init: trying /sbin/init > Enter full pathname of shell or RETURN for /bin/sh: > # mount > /dev/ad0s3a on / (ufs, local, read-only) > devfs on /dev (devfs, local) > # fsck / > ** /dev/ad0s3a > ** Last Mounted on / > ** Root file system > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 3850 files, 189623 used, 64192 free (680 frags, 7939 blocks, 0.3% fragmentation) > ***** FILE SYSTEM MARKED CLEAN ***** > # mount > /dev/ad0s3a on / (ufs, local) > devfs on /dev (devfs, local) > > 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 -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkelwesACgkQ52SDGA2eCwXKoACdHm0ifpBLTw6MRxENkDLeKqFN Fe8AnRNHv/jah2A9UasTOAXZOBuAjvRn =AqFN -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080203133019.GL1179>
