From owner-freebsd-questions Sat Nov 17 19:51:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id F3DED37B405 for ; Sat, 17 Nov 2001 19:51:29 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fAI3pPT08351; Sat, 17 Nov 2001 21:51:26 -0600 (CST) (envelope-from dan) Date: Sat, 17 Nov 2001 21:51:25 -0600 From: Dan Nelson To: Edwin Groothuis Cc: Charles Burns , questions@FreeBSD.ORG Subject: Re: on Softupdates and journalling Message-ID: <20011118035125.GC12018@dan.emsphone.com> References: <20011118141456.L684@k7.mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011118141456.L684@k7.mavetju.org> User-Agent: Mutt/1.3.23.2i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Nov 18), Edwin Groothuis said: > On Sat, Nov 17, 2001 at 03:23:25PM -0700, Charles Burns wrote: > > Quick question: Why does a (my) FreeBSD installation on a drive > > with Softupdates enabled still insist on doing an FS check after a > > unclean reboot? > > I heard rumours that this will not be done anymore in the -CURRENT > version. But honestly, if something goes wrong and my machine > crashes, I would prefer it to do a tourough[sp?] self-check before it > continues to work again. Softupdates tries to ensure that the filesystem is internally consistent at all times. So if you create a directory, then create a file in it, the blocks describing the directory get written out before the blocks describing the file. The only thing "wrong" with a softupdates filesystem after a crash/reboot should be too many blocks marked "used". -current has an rc.conf option called backgound_fsck that kicks fsck off in the background for all dirty softupdates-enabled filesystems. A full fsck is still run; it just lets you continue working on the machine at the same time instead of making you wait 5-10 minutes for it to complete. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message