View previous topic :: View next topic |
Author |
Message |
lucida Apprentice
Joined: 20 Feb 2003 Posts: 191
|
Posted: Sun Jul 27, 2003 2:58 am Post subject: [Tip] Disable fsck on next boot when shutdown properly |
|
|
In /etc/init.d/checkfs,
Code: |
if [ -f /fastboot ]
then
rm -f /fastboot
else
# do some fsck....
fi
|
So, add the follow line in /etc/conf.d/local.stop
Code: |
/usr/bin/touch /fastboot
|
would disable the checkfs process during next boot. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sun Jul 27, 2003 3:29 am Post subject: Re: [Tip] Disable fsck on next boot when shutdown properly |
|
|
lucida wrote: |
would disable the checkfs process during next boot. |
... and every reboot thereafter |
|
Back to top |
|
|
lucida Apprentice
Joined: 20 Feb 2003 Posts: 191
|
Posted: Sun Jul 27, 2003 3:59 am Post subject: |
|
|
of coz not, if you read my post carefully... |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sun Jul 27, 2003 5:44 am Post subject: |
|
|
I don't understand the purpose of your tip. Why would you want to skip fsck on every reboot except for reboots forced by powering down , crashes, etc.? |
|
Back to top |
|
|
|