diff options
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r-- | sbin/fsck_ffs/pass1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index 1045a5f..e6bd215 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -93,6 +93,12 @@ pass1() inumber = c * sblock.fs_ipg; setinodebuf(inumber); inosused = sblock.fs_ipg; + if (got_siginfo) { + printf("%s: phase 1: cyl group %d of %d (%d%%)\n", + cdevname, c, sblock.fs_ncg, + c * 100 / sblock.fs_ncg); + got_siginfo = 0; + } /* * If we are using soft updates, then we can trust the * cylinder group inode allocation maps to tell us which |