summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass1b.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/pass1b.c')
-rw-r--r--sbin/fsck_ffs/pass1b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass1b.c b/sbin/fsck_ffs/pass1b.c
index 7ef662f..9a37c1d 100644
--- a/sbin/fsck_ffs/pass1b.c
+++ b/sbin/fsck_ffs/pass1b.c
@@ -65,6 +65,12 @@ pass1b()
duphead = duplist;
inumber = 0;
for (c = 0; c < sblock.fs_ncg; c++) {
+ if (got_siginfo) {
+ printf("%s: phase 1b: cyl group %d of %d (%d%%)\n",
+ cdevname, c, sblock.fs_ncg,
+ c * 100 / sblock.fs_ncg);
+ got_siginfo = 0;
+ }
for (i = 0; i < sblock.fs_ipg; i++, inumber++) {
if (inumber < ROOTINO)
continue;
OpenPOWER on IntegriCloud