From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 20:10:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4177106576E for ; Tue, 31 Mar 2009 20:10:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 432558FC24 for ; Tue, 31 Mar 2009 20:10:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy19 with SMTP id 19so2553156ewy.43 for ; Tue, 31 Mar 2009 13:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=CQd7yKmvyZZMyquCSpiGQRRy7KG5hBe6AA70R34GIPI=; b=h0asrQzU36Zy4BdeMlZINYo7KAJos0sIv5Id8AZwi+Felgy4Afxqw9mDpXgdJ5AS2P 8zx0xSuX90B/VAylbzRRrKmnhcE6QuLaO+uhTjk+x9YSLD0QjLqbB+mOfTIxg5bEL3h/ J8NJjJvV9YkPeTwN3VXkkvtfsrAgrdO2fJbAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=py5VNNRLvPcbGzQEX2Lfrm3AkqxEpf4Kot6dnBteG2FoLaav8V8hm0IKVrGVL0ykMD pMcq2Dlbzn8UG9IiiGexU+SBlebw+27IgS/hRYcjZ85iX2JvfsITPmwPt+lUZ/keGGfM MqAiUjrWUlxYCI20Fm/V7dc0+uSz/k97H2uOY= Received: by 10.216.26.202 with SMTP id c52mr2286110wea.98.1238530223260; Tue, 31 Mar 2009 13:10:23 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 23sm3693902eya.6.2009.03.31.13.10.21 (version=SSLv3 cipher=RC4-MD5); Tue, 31 Mar 2009 13:10:22 -0700 (PDT) Date: Tue, 31 Mar 2009 21:10:18 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090331211018.30e8b0a6@gumby.homeunix.com> In-Reply-To: <200903311736.32909.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <49D1B297.8060307@gmail.com> <200903310815.54296.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090331132411.3b1edf97@gumby.homeunix.com> <200903311736.32909.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Question about forcing fsck at boottime X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 20:10:26 -0000 On Tue, 31 Mar 2009 17:36:32 +0200 Mel Flynn wrote: > On Tuesday 31 March 2009 14:24:11 RW wrote: > > On Tue, 31 Mar 2009 08:15:54 +0200 > > > > Mel Flynn 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.