From owner-freebsd-hackers Wed Feb 7 5:13: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 8E72237B491 for ; Wed, 7 Feb 2001 05:12:45 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f17DCHt59672; Wed, 7 Feb 2001 05:12:17 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200102071312.f17DCHt59672@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Poul-Henning Kamp Cc: Maxime Henrion , freebsd-hackers@FreeBSD.ORG, Matt Dillon , Greg Black Subject: Re: soft updates and qmail (RE: qmail IO problems) In-Reply-To: <761.981546245@critter> Date: Wed, 07 Feb 2001 05:12:17 -0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <20010207111952.B484@nebula.cybercable.fr>, Maxime Henrion writes: > > > >What do you think of what NetBSD implemented ? softupdates is now enabled vi a > >a mount option. This seems cleaner than the tunefs -n enable thing. > > I have never understood why it was a tunefs thing... So that fsck(8) can see what mode the FS *was* mounted in last time. That bears no relationship to fstab or the current options. To do a mount option for fstab, it needs to be preserved in the superblock and fsck check the superblock for deciding whether to run in softupdates mode. At mount time, the mount flag can be propagated to the superblock for the 'next' fsck. This means you can turn softdep on/off in fstab and get it to DWIM, and still have fsck know what it needs to know. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message