e2fsck can display a progress bar if you call it with the -C parameter:
Code:
-C fd This option causes e2fsck to write completion information to the
specified file descriptor so that the progress of the filesystem
check can be monitored. This option is typically used by pro‐
grams which are running e2fsck. If the file descriptor number
is negative, then absolute value of the file descriptor will be
used, and the progress information will be suppressed initially.
It can later be enabled by sending the e2fsck process a SIGUSR1
signal. If the file descriptor specified is 0, e2fsck will
print a completion bar as it goes about its business. This
requires that e2fsck is running on a video console or terminal.
Later you can enable or disable this feature by sending signals to the e2fsck process with the kill command:
Code:
SIGNALS
The following signals have the following effect when sent to e2fsck.
SIGUSR1
This signal causes e2fsck to start displaying a completion bar
or emitting progress information. (See discussion of the -C
option.)
SIGUSR2
This signal causes e2fsck to stop displaying a completion bar or
emitting progress information.