Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Tip] Disable fsck on next boot when shutdown properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lucida
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 191

PostPosted: Sun Jul 27, 2003 2:58 am    Post subject: [Tip] Disable fsck on next boot when shutdown properly Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jul 27, 2003 3:29 am    Post subject: Re: [Tip] Disable fsck on next boot when shutdown properly Reply with quote

lucida wrote:

would disable the checkfs process during next boot.


... and every reboot thereafter
Back to top
View user's profile Send private message
lucida
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 191

PostPosted: Sun Jul 27, 2003 3:59 am    Post subject: Reply with quote

of coz not, if you read my post carefully...
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jul 27, 2003 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum