Forced FSCK on Bad Reboot

Ben Stringer ben at burbong.com
Fri Jul 15 14:29:46 UTC 2005


On Thu, 2005-07-14 at 13:09 -0500, Mike McCarty wrote:

> 
> I still haven't seen an argument against having the default mode
> be do an extended check.
> 
> Is there a way to change the default reboot mode?

Hi Mike,

Looking in /etc/rc.sysinit, it appears that if you place:

AUTOFSCK_DEF_CHECK=yes

into /etc/sysconfig/autofsck

then the behaviour of the default reboot mode in the case of an unclean
shutdown toggles from "Press Y to force check" to "Press N to not force
check", which sounds like the behaviour you are after. (Observed on an
FC3 system).

Cheers, Ben





More information about the fedora-list mailing list