[arch-general] silent fsck at startup

Denis Alessandro Altoe Falqueto denisfalqueto at gmail.com
Fri Jan 23 11:28:46 EST 2009


On Fri, Jan 23, 2009 at 2:24 PM, Ashish SHUKLA <wahjava.ml at gmail.com> wrote:
> Jeff Mickey writes:
>> On Fri, Jan 23, 2009 at 10:45, Ashish SHUKLA <wahjava.ml at gmail.com> wrote:
>>> I'm also using ext3 and I'm talking about the file-system check which
>>> takes after every n days or n mounts during boot-up. It is not showing
>>> any status of file-system check. Are you getting any progress-bar during
>>> the file-system check ? If yes, what changes you made to get that.
>>>
>>> Thanks
>>> --
>>> Ashish SHUKLA
>
>> if [ -x /sbin/fsck ]; then
>>       stat_busy "Checking Filesystems"
>>       if /bin/grep -qw quiet /proc/cmdline; then
>>               /sbin/fsck -A -T -C -a -t $NETFS $FORCEFSCK >/dev/null 2>&1
>>       else
>>               /sbin/fsck -A -T -C -a -t $NETFS $FORCEFSCK 2>/dev/null
>>       fi
>
>> line 245..251 in /etc/rc.sysinit
>
>> fsck is running with -C which means it will display progress bars as
>> long as your fsck.* supports it.  I know ext2 and 3 do, I'm not sure
>> about the others.  You need to check your /etc/fstab to see if you've
>> turned off fs checks, and confirm you are actually using ext3.
>
> Thanks for the hint. I guess it is due to the 'quiet' option passed to
> the kernel during boot-up, which causes stdout and stderr to redirect to
> /dev/null. I'll verify it the next time I reboot.
>
> Thanks :)
> --
> Ashish SHUKLA
>


It is because of it, indeed. I was also puzzled by the fact that in
some boxes there was progress status and other boxes wasn't. I think I
will change the rc.sysinit to the old behaviour, because I don't want
the kernel loading messages and want the fsck progress bars. :)

-- 
-------------------------------------------
Denis A. Altoe Falqueto
-------------------------------------------
Emo Philips  - "I was sleeping the other night, alone, thanks to the
exterminator."


More information about the arch-general mailing list