Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, 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 - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to