how to force a hd check during boot up

Alexander Dalloz ad+lists at uni-x.org
Sun May 15 00:49:18 UTC 2005


Am So, den 15.05.2005 schrieb Gustavo Seabra um 2:43:

> > > Sometimes it happens to me too. I think the time it gives us to click
> > > on the right key is too llittle. If I'm not with my finger already
> > > there waiting, it just passes and i never get the chance to ask for
> > > the check.
> > >
> > > Is there a way to increase the time it waits for the response?
> > 
> > Yes. Settings like following are possible:
> > 
> > $ cat /etc/sysconfig/autofsck
> > 
> > AUTOFSCK_DEF_CHECK=yes
> > PROMPT=yes
> > AUTOFSCK_TIMEOUT=30
> > AUTOFSCK_OPT=""

> Interesting... I don't have this file on my system. Should it be
> there? Or is it necessary only if you need to change the defaults?

> Gustavo Seabra                                           Graduate Student

Just create the file and the desired settings. The values / variables
are read in by /etc/rc.sysinit. You may check it's logic.

$ grep -n "/etc/sysconfig/autofsck" /etc/rc.sysinit
328:    [ -f /etc/sysconfig/autofsck ] && . /etc/sysconfig/autofsck

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 02:46:40 up 1 day, 2:18, load average: 0.36, 0.43, 0.28 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050515/d5e43a4f/attachment-0001.sig>


More information about the fedora-list mailing list