Red Hat Bugzilla – Bug 70293
RFE: use "initscripts -qc "fsck -T -a /" when checking root filesystem
Last modified: 2014-03-16 22:29:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020724
Description of problem:
lines 236-238 of /etc/rc.d/rc.sysinit from initscripts-6.88-1 of Limbo2
contain the following lines:
STRING=$"Checking root filesystem"
initlog -c "fsck -T -a $fsckoptions /"
I would suggest modifying the last line to:
initlog -qc "fsck -T -a $fsckoptions /"
Version-Release number of selected component (if applicable):
here is the explanation of the "-q" option for initlog:
-q Do not print the program's output, unless it exits
with a non-zero exit code.
So if there are any problems with the root partition the user is gonna see
exactly the same behavior as before.
When there are no errors on the root partition the user is gonna see:
Checking root filesystem [ OK ]
this is how the output looks like now:
Checking root filesystem
fsck: /: clean, 93849/1089152 files, 442599/2175382 blocks [ OK ]
I thinks the first looks much better
one more thing,
the log files in both cases will look identical
so this is just a cosmetic enhancement
I'm fairly sure this will break in-progress reporting of the progress bar for