LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-29-2004, 04:36 PM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
fsck on two partitions


Hi all,
Not sure if this posting should be here or in "software," but here goes.....
I have a question on fsck on Slack 10.0. By default fsck runs every 25 or so times I boot up, and that slows me down abit, but is probably a good idea. The thing is that I have two linux partitions (a separate /home partition) and the two don't get scanned at the same time. They got knocked out of sync or are on different schedules. Anyone know how I can make sure they get scanned at the same time, so I don't have to slo mo boot twice every 25 or so times?

Thanks,
-geomatt
 
Old 09-29-2004, 04:50 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you are using the ext2 or ext3 file-system, you could use:
tune2fs -C <mount-count> on both partitions to manually set the number of times they have been mounted.
 
Old 09-29-2004, 04:59 PM   #3
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Seems simple enough
I'll do it.
Though they each have different max mount counts, so I'll have to fix that as well. man pages should help.

Thanks!
 
Old 09-29-2004, 05:29 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can change the max-mount-count at the same time.
Code:
tune2fs -c max-mount-counts -C mount-count device
Reading through the man page would be a good idea anyway.

A couple tips may make reading man pages easier for you.

1) Enter either man:tune2fs or info:tune2fs in the konqueror browser will bring up a
web-page formated man page, with links on the bottom of the page for info files.

2) using the man -T option to produce a .ps or .dvi file you can view with ghostview or kdvi respectively. Example:
Code:
man -Tdvi tune2fs >~/tune2fs.dvi
man -Tps tune2fs >~/tune2fs.ps
 
Old 09-29-2004, 10:51 PM   #5
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Cool. Thanks for the tips on man pages! I am just learning how to decode them after a few months slacking.....

-geomatt
 
Old 10-05-2004, 04:37 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
To expand the man pages tip. You may have the topic.texi texinfo source files on your system. Since the source files are .tex files, you can produce a .dvi output by simply running tex on them.

example: tex coreutils.texi
will produce a coreutils.dvi file that you can read in kdvi or xdvi. For the most common and important commands and files ( files like fstab have there own entries ) you might want to print out the .dvi versions and put them in a three ring binder for reference.
 
  


Reply



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
How to use fsck? Hungry ghost Linux - Software 4 11-07-2009 01:13 AM
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM
How to do fsck Please help Zi5 Linux - Distributions 2 05-13-2004 06:47 PM
fsck leihsun Linux - General 1 07-02-2002 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration