-   Slackware (
-   -   How do I stop fsck from checking my drives. (

kponenation 08-03-2005 11:32 AM

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

keefaz 08-03-2005 11:44 AM

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

AxXium 08-03-2005 11:57 AM

edit the following file:


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


Change this

/dev/hda2 /home ext3 defaults 1 1


/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 first is truly scary.

Oh well, it's your system.

Have fun:)

kponenation 08-03-2005 12: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 12:22 PM

btw, i did google it but no clear answer.

keefaz 08-03-2005 12: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 12:25 PM

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

kponenation 08-03-2005 12:26 PM

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

All times are GMT -5. The time now is 03:01 AM.