Re: silent fsck at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jeff Mickey writes:
> On Fri, Jan 23, 2009 at 10:45, Ashish SHUKLA <wahjava.ml@xxxxxxxxx> 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

Attachment: pgpyE4NKPXX61.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux