In message <[EMAIL PROTECTED]>, Peter Wemm writes : >Because fsck is supposed to be able to do things more intelligently when it >knows the *previous* mount state, not the current state. ie: if a disk was >last mounted in softupdates mode, fsck is supposed to do stuff differently >(possibly doing as little as a superblock cleanup and deferring the >lost-space recovery until much later). > >For the NetBSD version to work, what needs to happen is that the -osoftdep >flag needs to be propagated to the superblock so that after reboot, fsck >knows what to do. When it is next mounted, then update it to the new state. Right, but if mounting with -osoftdep, does what a "tunefs -n enable" does (and vice versa) fsck will have that knowledge and the tunefs step would be un-needed. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: cvs commit: src/sys/contrib/softupdates softdep.h... Don Lewis
- Re: cvs commit: src/sys/contrib/softupdates softdep.h... Brad Knowles
- Re: cvs commit: src/sys/contrib/softupdates soft... Adrian Chadd
- Re: cvs commit: src/sys/contrib/softupdates ... Stefan Esser
- Re: cvs commit: src/sys/contrib/softupdates ... Kirk McKusick
- Re: cvs commit: src/sys/contrib/softupda... Adrian Chadd
- Re: cvs commit: src/sys/contrib/softupdates softdep.h... Julian Elischer
- Re: cvs commit: src/sys/contrib/softupdates soft... Adrian Chadd
- Re: cvs commit: src/sys/contrib/softupdates ... Peter Wemm
- Re: cvs commit: src/sys/contrib/softupda... Poul-Henning Kamp
- Re: cvs commit: src/sys/contrib/soft... Matthew Dillon
- Re: cvs commit: src/sys/contrib... Stefan Esser
- Re: cvs commit: src/sys/contrib... Poul-Henning Kamp
- Re: cvs commit: src/sys/contrib/softupda... Assar Westerlund
- Re: cvs commit: src/sys/contrib/softupdates softdep.h... Peter Jeremy
- Re: cvs commit: src/sys/contrib/softupdates soft... Poul-Henning Kamp
- Re: cvs commit: src/sys/contrib/softupdates soft... Mike Meyer
- Re: cvs commit: src/sys/contrib/softupdates soft... Michael Reifenberger
- Re: cvs commit: src/sys/contrib/softupdates softdep.h... Garrett Wollman