mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-12 11:33:24 +08:00
unix.c (show_stats): Print the number of large files in verbose mode.
This commit is contained in:
parent
e3bda78302
commit
2b94c658c7
@ -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>
|
2001-08-07 Theodore Tso <tytso@valinux.com>
|
||||||
|
|
||||||
* journal.c (recover_ext3_journal): If s_errno is set in the
|
* journal.c (recover_ext3_journal): If s_errno is set in the
|
||||||
|
@ -133,6 +133,7 @@ static void show_stats(e2fsck_t ctx)
|
|||||||
"%8d bad blocks\n"), blocks_used,
|
"%8d bad blocks\n"), blocks_used,
|
||||||
(int) ((long long) 100 * blocks_used / blocks),
|
(int) ((long long) 100 * blocks_used / blocks),
|
||||||
ctx->fs_badblocks_count);
|
ctx->fs_badblocks_count);
|
||||||
|
printf(_("%8d large files\n"), ctx->large_files);
|
||||||
printf (_("\n%8d regular files\n"
|
printf (_("\n%8d regular files\n"
|
||||||
"%8d directories\n"
|
"%8d directories\n"
|
||||||
"%8d character device files\n"
|
"%8d character device files\n"
|
||||||
@ -166,6 +167,8 @@ static void show_stats(e2fsck_t ctx)
|
|||||||
(blocks_used != 1) ? "s" : "",
|
(blocks_used != 1) ? "s" : "",
|
||||||
100 * blocks_used / blocks, ctx->fs_badblocks_count,
|
100 * blocks_used / blocks, ctx->fs_badblocks_count,
|
||||||
ctx->fs_badblocks_count != 1 ? "s" : "");
|
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"
|
printf ("\n%8d regular file%s\n"
|
||||||
"%8d director%s\n"
|
"%8d director%s\n"
|
||||||
"%8d character device file%s\n"
|
"%8d character device file%s\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user