summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-27 18:10:38 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-28 16:33:57 +0200
commit3a795ed32935968218ce6feb8ab2459e8c215ee8 (patch)
tree756c0d13603bd131d38f7fcc6d2093cbbffaaad2 /mkfs/mkfs.c
parentf7fa69e896f0971629f938be93cb30865f92943c (diff)
Add some nice statistics output to tar2sqfs and gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index b5c514b..a5719cd 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -190,6 +190,9 @@ int main(int argc, char **argv)
if (padd_file(outfd, super.bytes_used, opt.devblksz))
goto out_data;
+ if (!opt.quiet)
+ sqfs_print_statistics(&fs, &super);
+
status = EXIT_SUCCESS;
out_data:
data_writer_destroy(data);