Whamcloud - gitweb
unix.c (main): Add an explicit warning when the filesystem is left not
authorTheodore Ts'o <tytso@mit.edu>
Fri, 20 Jul 2001 18:13:49 +0000 (14:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Jul 2001 18:13:49 +0000 (14:13 -0400)
completely fixed when e2fsck exits.  (Addresses Debian bug #104502.)

e2fsck/ChangeLog
e2fsck/unix.c

index a8d0da7..b191359 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-20  Theodore Tso  <tytso@valinux.com>
+
+       * unix.c (main): Add an explicit warning when the filesystem is
+               left not completely fixed when e2fsck exits.  (Addresses
+               Debian bug #104502.)
+
 2001-07-19  Theodore Tso  <tytso@valinux.com>
 
        * pass1.c (check_ext_attr): The entire EA block is now checked to
index 6710839..3e52fec 100644 (file)
@@ -962,8 +962,11 @@ restart:
        }
        if (ext2fs_test_valid(fs))
                fs->flags &= ~EXT2_FLAG_MASTER_SB_ONLY;
-       else
+       else {
+               printf(_("\n%s: ********** WARNING: Filesystem still has "
+                        "errors **********\n\n"), ctx->device_name);
                exit_value = FSCK_UNCORRECTED;
+       }
        if (!(ctx->options & E2F_OPT_READONLY)) {
                if (ext2fs_test_valid(fs)) {
                        if (!(sb->s_state & EXT2_VALID_FS))