LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-03-2005, 11:32 AM   #1
kponenation
Member
 
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Rep: Reputation: 15
How do I stop fsck from checking my drives.


How do I stop fsck from checking my drives during boot?
Thanks..
 
Old 08-03-2005, 11:44 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
Why would you want that ?
(excuse me for being curious)
 
Old 08-03-2005, 11:57 AM   #3
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
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

Last edited by AxXium; 08-03-2005 at 11:58 AM.
 
Old 08-03-2005, 12:20 PM   #4
kponenation
Member
 
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
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?
 
Old 08-03-2005, 12:22 PM   #5
kponenation
Member
 
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
btw, i did google it but no clear answer.
 
Old 08-03-2005, 12:23 PM   #6
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
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
 
Old 08-03-2005, 12:25 PM   #7
kponenation
Member
 
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
Problem solved....
just need to modify rc.S
 
Old 08-03-2005, 12:26 PM   #8
kponenation
Member
 
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
haha i was two minutes slow... thanks anyway keefaz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck failure , fix manually ( suse9.2 stop while entering to os) june Suse/Novell 1 11-28-2005 04:56 PM
stop bash checking mails at login phil.d.g Linux - General 2 09-09-2005 07:33 AM
how do i stop slack checking mutt mail when i log in? dive Slackware 1 07-19-2005 12:41 PM
Fsck and checking drive at boot Atmchicago Slackware 2 02-29-2004 03:12 PM
stop forwarding packet after checking the message sent from PC 1 to PC 3 through PC@ becky_starr Programming 3 02-14-2004 11:02 PM


All times are GMT -5. The time now is 09:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration