Automatic fsck?


Forum: User Feedback
Topic: Automatic fsck?
started by: Agent

Posted by Agent on Nov. 30 2007,13:17
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!

Posted by curaga on Nov. 30 2007,16:38
/opt/shutdown.sh is run on shutdown - you could add your umount command there.
Posted by mikshaw on Dec. 01 2007,02:51
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.

Posted by curaga on Dec. 01 2007,09:50
Well, he seems to reboot often, and the mount count forces a filesystem check every once in a while..
Posted by lucky13 on Dec. 01 2007,14:29
What filesystem is that partition? If ext2/3, run tune2fs and change the interval to something you can tolerate.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.