how to force a hd check during boot up

Gustavo Seabra gustavo.seabra at gmail.com
Sun May 15 13:30:49 UTC 2005


On 5/14/05, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> 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
> 
> --

Thanks!

-- 
---------------------------------------------------------------------------------------------
Gustavo Seabra                                           Graduate Student
Chemistry Dept.                                   Kansas State University
Registered Linux user number 381680
Say NO! to software patents: http://www.nosoftwarepatents.com
---------------------------------------------------------------------------------------------
If at first you don't succeed...
                              ...skydiving is not for you.




More information about the users mailing list