From 2b94c658c7270d99343d2f4aa3561c09e819b280 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 9 Aug 2001 04:08:52 -0400 Subject: [PATCH] unix.c (show_stats): Print the number of large files in verbose mode. --- e2fsck/ChangeLog | 5 +++++ e2fsck/unix.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index b64f036..0c5ed97 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +2001-08-09 Theodore Tso + + * unix.c (show_stats): Print the number of large files in verbose + mode. + 2001-08-07 Theodore Tso * journal.c (recover_ext3_journal): If s_errno is set in the diff --git a/e2fsck/unix.c b/e2fsck/unix.c index 0554c8b..431d03c 100644 --- a/e2fsck/unix.c +++ b/e2fsck/unix.c @@ -133,6 +133,7 @@ static void show_stats(e2fsck_t ctx) "%8d bad blocks\n"), blocks_used, (int) ((long long) 100 * blocks_used / blocks), ctx->fs_badblocks_count); + printf(_("%8d large files\n"), ctx->large_files); printf (_("\n%8d regular files\n" "%8d directories\n" "%8d character device files\n" @@ -166,6 +167,8 @@ static void show_stats(e2fsck_t ctx) (blocks_used != 1) ? "s" : "", 100 * blocks_used / blocks, ctx->fs_badblocks_count, ctx->fs_badblocks_count != 1 ? "s" : ""); + printf(_("%8d large file%s\n"), ctx->large_files, + (ctx->large_files != 1) ? "s" : ""); printf ("\n%8d regular file%s\n" "%8d director%s\n" "%8d character device file%s\n" -- 1.8.3.1