From: Theodore Ts'o Date: Wed, 27 Feb 2008 20:10:20 +0000 (-0500) Subject: e2fsck: Print an explicit message when the bad block inode is updated X-Git-Tag: v1.40.7~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f9abdcb306ff515a8009a1e0fd35041688133c9;p=thirdparty%2Fe2fsprogs.git 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" --- diff --git a/e2fsck/badblocks.c b/e2fsck/badblocks.c index 36dc208e5..72f88aa72 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,