diff options
author | Theodore Ts'o <tytso@mit.edu> | 2001-07-20 14:13:49 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2001-07-20 14:13:49 -0400 |
commit | d312401961666db8a5cb4b3fc71d85d73ac6bf67 (patch) | |
tree | f3295281ce5c01ac80f24df0ee11f900e89ca86a /e2fsck | |
parent | d1ef5c34a91920d89340cae77c75bd63d0de6aae (diff) | |
download | e2fsprogs-d312401961666db8a5cb4b3fc71d85d73ac6bf67.tar.gz |
unix.c (main): Add an explicit warning when the filesystem is left not
completely fixed when e2fsck exits. (Addresses Debian bug #104502.)
Diffstat (limited to 'e2fsck')
-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)) |