RE: File system checks

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

 



Thanks Alexander!

Your help here is greatly appreciated.

I have since read sysconfig.txt and come away only slightly confused.

Is the filename /etc/sysconfig/.autofsck      or
                /etc/sysconfig/autofsck

Mike



-----Original Message-----
From: fedora-list-admin@xxxxxxxxxx
[mailto:fedora-list-admin@xxxxxxxxxx]On Behalf Of Alexander Dalloz
Sent: Wednesday, March 03, 2004 2:52 PM
To: fedora-list@xxxxxxxxxx
Subject: Re: File system checks


Am Mi, den 03.03.2004 schrieb Mike Westkamper um 20:22:
> I am trying to modify Fedora boot process as it relates to the checking of
> the file system on boot.
> 
> I want it to check and repair all mounted file systems automatically.
> 
> I find in rc.d/rc.sysinit the script that seems to make that determination,
> however I don't seem able to find out how to set the variables it uses or in
> some way make it work the way I want. I guess I could change the script but
> that seems rather a crude solution.
> 
> Any direction will be greatly appreciated.
> 
> Mike

touch /.autofsck

>From /usr/share/doc/initscripts-7.42.2/sysconfig.txt:

/etc/sysconfig/autofsck
  does not normally exist; if it does, it can influence a choice
  whether or not to fsck after a crash
   AUTOFSCK_TIMEOUT=5
      Number of seconds to wait for console user to make a choice
    AUTOFSCK_DEF_CHECK=no
      If the user does not respond, choose whether or not to fsck

So do:

echo "AUTOFSCK_TIMEOUT=5" > /etc/sysconfig/autofsck
echo "AUTOFSCK_DEF_CHECK=yes" >> etc/sysconfig/autofsck

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 20:47:07 up 12 days, 22:20, load average: 0.60, 0.41, 0.37 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




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

  Powered by Linux