Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2001 05:12:17 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Maxime Henrion <mux@qualys.com>, freebsd-hackers@FreeBSD.ORG, Matt Dillon <dillon@earth.backplane.com>, Greg Black <gjb@gbch.net>
Subject:   Re: soft updates and qmail (RE: qmail IO problems) 
Message-ID:  <200102071312.f17DCHt59672@mobile.wemm.org>
In-Reply-To: <761.981546245@critter> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102071312.f17DCHt59672>