Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/fsck_ffs

Hi Matt !

That gave me a system with WAPBL and full fsck_ffs after panic - good old times with new code :-)

How about this fix:
RCS file: /cvsroot/src/sbin/fsck_ffs/setup.c,v
retrieving revision 1.86
diff -u -r1.86 setup.c
--- setup.c     25 Mar 2009 03:42:41 -0000      1.86
+++ setup.c     5 Apr 2009 17:36:19 -0000
@@ -174,7 +174,7 @@
               pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
       if (sblock->fs_flags & FS_DOWAPBL) {
-               if (preen && !skipclean) {
+               if (preen && skipclean) {
                       if (!quiet)
pwarn("file system is journaled; not checking\n");
                       return (-1);

Best regards,
matthew green wrote:
Module Name:    src
Committed By:   mrg
Date:           Wed Mar 25 03:42:41 UTC 2009

Modified Files:
        src/sbin/fsck_ffs: setup.c

Log Message:
don't ignore "fsck -f" when given with "-p" on a wapbl filesystem.
ie, "fsck -fp" actually forces the check in preen mode now.

To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sbin/fsck_ffs/setup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index