summaryrefslogtreecommitdiff
path: root/e2fsck
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-07-20 14:13:49 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-07-20 14:13:49 -0400
commitd312401961666db8a5cb4b3fc71d85d73ac6bf67 (patch)
treef3295281ce5c01ac80f24df0ee11f900e89ca86a /e2fsck
parentd1ef5c34a91920d89340cae77c75bd63d0de6aae (diff)
downloade2fsprogs-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/ChangeLog6
-rw-r--r--e2fsck/unix.c5
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))