[blfs-support] Filesystem recovery messages at every boot

Bruce Dubbs bruce.dubbs at gmail.com
Thu May 9 14:38:02 PDT 2013


Ken Moffat wrote:

>   For my own builds I use a sed on the checkfs bootscript to remove
> your quietening of fsck [ I like the messages telling me an fsck will
> be due soon, and while a slow fsck is running ].  I know you don't
> like it, and it won't help directly here, but in a spirit of "don't
> hide things, this my development machine" I'll mention it again :
>   sed -i '/fsck /s%>/dev/null%%' lfs/init.d/checkfs

???

log_info_msg "Checking file systems..."
# Note: -a option used to be -p; but this fails e.g. on fsck.minix
if is_true "$VERBOSE_FSCK"; then
     fsck ${options} -a -A -C -T
else
     fsck ${options} -a -A -C -T >/dev/null
fi

You can set VERBOSE_FSCK in /etc/sysconfig/rc.site

   -- Bruce




More information about the blfs-support mailing list