]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
unix.c (show_stats): Print the number of large files in verbose mode.
authorTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2001 08:08:52 +0000 (04:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2001 08:08:52 +0000 (04:08 -0400)
e2fsck/ChangeLog
e2fsck/unix.c

index b64f0367aafbba3880c07228c42e11d416cd7a2f..0c5ed9778d7da6609a7c3976dc1ababbf6fe08d1 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-09  Theodore Tso  <tytso@valinux.com>
+
+       * unix.c (show_stats): Print the number of large files in verbose
+               mode.
+
 2001-08-07  Theodore Tso  <tytso@valinux.com>
 
        * journal.c (recover_ext3_journal): If s_errno is set in the
index 0554c8b1b73d9644cc92a9609a9f0539036c1bf3..431d03c62bce48b20b5bcb3756631347e71b130f 100644 (file)
@@ -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"