Re: File System Integrity Check
From: Jonathan Rawle (jr36_at_le.ac.uk)
Date: Tue, 02 Mar 2004 12:21:13 +0000
Tropical Cooler wrote:
> Sometimes I get a message saying that "System shutdown uncleanly" and I
> get a prompt asking me if I want to run "File System Integrity Check"
> press Y within 5 seconds.
> How can I get the Integrity check to run automatically without giving a
Journalling filesystems and their merits aside, to answer your question...
In the file /etc/sysconfig/autofsck you can include the line:
The prompt after an unclean shutdown will now say "Press N within 5 seconds
to not force file system integrity check..."
You can add
To change this timeout to (for example) 10 seconds.
To disable the prompt altogether, edit /etc/sysconfig/init to say:
Whether the check is carried out then depends solely on your
AUTOFSCK_DEF_CHECK setting. It will also prevent the "Press 'I' to enter
interactive startup" message from appearing.