diff options
-rw-r--r-- | e2fsck/ChangeLog | 6 | ||||
-rw-r--r-- | e2fsck/unix.c | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index a8d0da73..b191359c 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -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 diff --git a/e2fsck/unix.c b/e2fsck/unix.c index 67108392..3e52fec4 100644 --- a/e2fsck/unix.c +++ b/e2fsck/unix.c @@ -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)) |