Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Automatic fsck?, Is there a way to stop it?< Next Oldest | Next Newest >
Agent Offline





Group: Members
Posts: 4
Joined: Nov. 2007
Posted: Nov. 30 2007,13:17 QUOTE

Whenever I boot up DSL, it always performs fsck on my second hard drive. In the mornings before school I'm pressed for time and want a quick boot, but that never happens cause I never remember to unmount my second hard drive! Is there a way to keep fsck from running on boot? Or would there be a way to unmouont hda2 by modifying the shutdown command (if it's possible of course)?

Please help!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Nov. 30 2007,16:38 QUOTE

/opt/shutdown.sh is run on shutdown - you could add your umount command there.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 01 2007,02:51 QUOTE

I'm guessing you have a traditional debian-style harddrive install.

Do you have "nofstab" as a boot option?

If both of these are "yes", then you can (or should be able to?) prevent the check even if the drive is mounted by editing /etc/fstab

Each line in fstab should end with two single-digit numbers. If the second of these two numbers is either zero or doesn't exist, then the associated partition should not be checked automatically.

It is not a good idea, especially if your partition is ext2/3 or some even older format, to assume that you will have no troubles and not ever check them. Your file system should still be checked on a fairly regular basis, say once or twice a month, or you may find yourself losing important data.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Dec. 01 2007,09:50 QUOTE

Well, he seems to reboot often, and the mount count forces a filesystem check every once in a while..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Dec. 01 2007,14:29 QUOTE

What filesystem is that partition? If ext2/3, run tune2fs and change the interval to something you can tolerate.

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
4 replies since Nov. 30 2007,13:17 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Automatic fsck?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code