From 4f9abdcb306ff515a8009a1e0fd35041688133c9 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 27 Feb 2008 15:10:20 -0500 Subject: [PATCH] e2fsck: Print an explicit message when the bad block inode is updated Some users were confused about why the filesystem was modified. Addresses-Sourceforge-Bug: #756460 Signed-off-by: "Theodore Ts'o" --- e2fsck/badblocks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/e2fsck/badblocks.c b/e2fsck/badblocks.c index 36dc208e..72f88aa7 100644 --- a/e2fsck/badblocks.c +++ b/e2fsck/badblocks.c @@ -97,6 +97,7 @@ void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file, /* * Finally, update the bad blocks from the bad_block_map */ + printf("%s: Updating bad block inode.\n", ctx->device_name); retval = ext2fs_update_bb_inode(fs, bb_list); if (retval) { com_err("ext2fs_update_bb_inode", retval,