You are not logged in.

#1 2005-11-01 04:00:07

BryanY
Member
Registered: 2004-08-01
Posts: 30

How to disable fsck on boot?

I was wondering how to disable fsck from running after the drive has been mounted a certain number of times.

I really don't want it doing the check.

Offline

#2 2005-11-01 04:24:51

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: How to disable fsck on boot?

You could always just change your fstab file to denote that you don't want that particular mount to be checked...although that wouldn't fit in with your "after a certain number of times" idea.

If you don't mind my asking, why are you looking to do this?  Since fsck checks the integrity of the filesystem it's trying to mount, and it usually doesn't take too long, why would you want to check it sometimes, and not others...I think it's extremely beneficial for unexpected filesystem problems caused by things like power-outtages, etc.  Especially if you don't reboot too often, I guess I don't see the advantage...

Offline

#3 2005-11-01 04:40:55

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: How to disable fsck on boot?

I think you can doing this with tune2fs

Offline

#4 2005-11-03 20:01:25

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: How to disable fsck on boot?

yes, tune2fs does what you want, but why are you using ext2? you should at least move to ext3, or join the reiser3  fan club. ext3 can still barf and give you a fsck delay when you boot. After you use reiser3, you wonder how people ever lived way back when they had ext2.


--(*(cs25x--));

Offline

#5 2005-11-04 14:22:23

desertViking
Member
From: Arizona
Registered: 2005-10-30
Posts: 170

Re: How to disable fsck on boot?

I have all of my partitions formated EXT3.  Can an existing partition be converted?  I didn't think so but thought I would ask since you seem such a fan :->


"In theory, there's no difference between theory and practice, but in practice there is."

Offline

#6 2005-11-04 14:27:48

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: How to disable fsck on boot?

depends how you define converted... I think you'd have to tar up the partition contents (preserve permissions!!!) copy the tar to a backup partition, and then reformat with reiser.

I use reiser, but I honestly don't notice a difference between it and ext3 from a usage perspective. I don't think its worth the trouble of changing, but I know people will disagree.

Dusty

Offline

#7 2005-11-04 14:41:16

desertViking
Member
From: Arizona
Registered: 2005-10-30
Posts: 170

Re: How to disable fsck on boot?

I does sound like a lot of work.  I'm sure an opportunity will present itself at some point.

Thx for the reply.


"In theory, there's no difference between theory and practice, but in practice there is."

Offline

Board footer

Powered by FluxBB