Re: how to force a hd check during boot up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux