LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How do I stop fsck from checking my drives. (http://www.linuxquestions.org/questions/slackware-14/how-do-i-stop-fsck-from-checking-my-drives-349616/)

kponenation 08-03-2005 12:32 PM

How do I stop fsck from checking my drives.
 
How do I stop fsck from checking my drives during boot?
Thanks..

keefaz 08-03-2005 12:44 PM

Why would you want that ?
(excuse me for being curious)

AxXium 08-03-2005 12:57 PM

edit the following file:

/etc/fstab

in the sixth column from the left, change the value to a zero

example

Change this

/dev/hda2 /home ext3 defaults 1 1

to

/dev/hda2 /home ext3 defaults 1 0

The sixth field is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.

Journaled file systems like reiserfs and ext3 usually have a 0 in the sixth field by the way.

You should know what you are doing to play with fstab & fsck.

But the fact that you had to ask instead of trying google.com first is truly scary.

Oh well, it's your system.

Have fun:)

kponenation 08-03-2005 01:20 PM

No problem with my /etc/fstab. (already 0)
I just don't want to check the drives after being mounted for 28 times.
Any other ways to stop it?

kponenation 08-03-2005 01:22 PM

btw, i did google it but no clear answer.

keefaz 08-03-2005 01:23 PM

If you want it absolutly (and keep the secret as for why you want that)
You could always comment the drive checking in the /etc/rc.d/rc.S script

kponenation 08-03-2005 01:25 PM

Problem solved....
just need to modify rc.S

kponenation 08-03-2005 01:26 PM

haha i was two minutes slow... thanks anyway keefaz


All times are GMT -5. The time now is 06:48 PM.