From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 21:48:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5BFC16A41F for ; Wed, 23 Nov 2005 21:48:30 +0000 (GMT) (envelope-from scode@starfury.scode.org) Received: from starfury.scode.org (starfury.scode.org [194.145.249.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4618E43D5F for ; Wed, 23 Nov 2005 21:48:17 +0000 (GMT) (envelope-from scode@starfury.scode.org) Received: by starfury.scode.org (Postfix, from userid 1001) id 7DEA19A8869; Wed, 23 Nov 2005 22:48:05 +0100 (CET) Date: Wed, 23 Nov 2005 22:48:05 +0100 From: Peter Schuller To: Wojciech Puchar Message-ID: <20051123214804.GA25766@starfury.scode.org> References: <20051121020105.S942@chylonia.3miasto.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051121020105.S942@chylonia.3miasto.net> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: background fsck 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: Wed, 23 Nov 2005 21:48:30 -0000 > what is the rule to decide if filesystem may be background checked or not? > > for example my / is checked foreground, while /home checked background. > > can't root partition be background checked too? Last time I checked (5.3:ish), no. I have no clue whether it's intentional. I tried to "fix" it but never got too far (well, I gave up). If I remember correctly (which is not at all sure since this was a while ago and I did not make notes), it has something to do with the fact that the root filesystem is mounted read-only, and the appropriate flags that are required for background fsck aren't set until a dirty filesystem is mounted read/write. (But again, I may very well be mis-remembering or have misunderstood the code in the first place.) Ever since then I have started partitioning with a small root partition (a few hundre megs, up to a gig or so), a huge /usr and symlinks for /tmp and /var - as an alternative to just one huge root partition. Does anyone want to speak up as to whether the behavior *is* intentional, or just an unintentional "bug"? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org