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
- Re: soft updates and qmail (RE: qmail IO pr... Rik van Riel
- Re: soft updates and qmail (RE: qmail IO pr... Andre Oppermann
- Re: soft updates and qmail (RE: qmail IO pr... Rik van Riel
- Re: soft updates and qmail (RE: qmail IO pr... Alfred Perlstein
- Re: soft updates and qmail (RE: qmail IO pr... Andre Oppermann
- Re: soft updates and qmail (RE: qmail IO pr... Jack Rusher
- Re: soft updates and qmail (RE: qmail IO problems) Greg Black
- Re: soft updates and qmail (RE: qmail IO proble... Poul-Henning Kamp
- Re: soft updates and qmail (RE: qmail IO pr... Maxime Henrion
- Re: soft updates and qmail (RE: qmail IO pr... Poul-Henning Kamp
- Re: soft updates and qmail (RE: qmail IO pr... Peter Wemm
- Re: soft updates and qmail (RE: qmail IO pr... Poul-Henning Kamp
- Re: soft updates and qmail (RE: qmail IO pr... Peter Wemm
- [Patches] mount -o softdep (was: Re: soft u... Stefan Esser
- Re: [Patches] mount -o softdep (was: Re: so... Peter Wemm
- unsubscribe freebsd-hackers Dmitry Dicky
- Re: unsubscribe freebsd-hackers Peter Pentchev
- Re: soft updates and qmail (RE: qmail IO problems) Rik van Riel
- Re: soft updates and qmail (RE: qmail IO problems) Andre Oppermann
- Re: soft updates and qmail (RE: qmail IO proble... Rik van Riel
- Re: soft updates and qmail (RE: qmail IO pr... Andre Oppermann