Date: Tue, 31 Mar 2009 21:10:18 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Question about forcing fsck at boottime Message-ID: <20090331211018.30e8b0a6@gumby.homeunix.com> In-Reply-To: <200903311736.32909.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> References: <49D1B297.8060307@gmail.com> <200903310815.54296.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <20090331132411.3b1edf97@gumby.homeunix.com> <200903311736.32909.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Mar 2009 17:36:32 +0200 Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> wrote: > On Tuesday 31 March 2009 14:24:11 RW wrote: > > On Tue, 31 Mar 2009 08:15:54 +0200 > > > > Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> wrote: somebody please point me in the right direction ? > > > > > > fsck -p is done by default (meaning, filesystems are not fully > > > scanned if they are marked clean). If pruning fails, > > > background_fsck is checked, which will work on UFS systems with > > > soft updates, but is not recommended by many as it may leave some > > > errors unchecked. > > > > I don't think that's quite right, fsck -p is only done if > > background_fsck=NO, otherwise an fsck -pF is done instead. The > > latter does an fsck -p on filesystems that aren't eligible for > > background checking - usually root and any none UFS filesystems. > > As far as I can tell, -F -p skips clean disks (-p) and defers to > background when possible, though the manpage doesn't exclude your or > my theory. ENOTIME to check the source. I wouldn't dispute that clean filesytems are skipped, it's just that you seemed to be implying that every filesystem gets a foreground fsck -p.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090331211018.30e8b0a6>