Fsck and checking drive at boot
I was wondering: in rc.S, there is the script to check the hard drive at boot for errors, and it does it every 20 times I boot. Is there a way to change this from 20 to like 30? Or some other number?
I believe the lines in question are:
if [ ! -r /etc/fastboot ]; then
echo "Checking root filesystem:"
/sbin/fsck $FORCEFSCK -C -a /
RETVAL=$?
fi
If I understand it correctly, the first line checks if /etc/fastboot exists. If it doesn't then it does fsck. It doesn't actually check it every time, though, so how does it know when to do it and when not to? Can I change that?
|