LinuxQuestions.org
Help answer threads with 0 replies.
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 12-08-2005, 07:29 AM   #1
slazer
LQ Newbie
 
Registered: Oct 2005
Location: kuala lumpur, malaysia
Distribution: slackware, fedora
Posts: 26

Rep: Reputation: 15
what are these things mean?


hi all,

i just wondering what are the things mean in /etc/fstab:

none /sys sysfs defaults 0 0


what the differences between 0 0 , 1 1 or 1 2?

can anybody tell me the meanings? coz i already read the manpage of fstab.. but not quite understand about the fifth and sixth field in fstab...


tq
 
Old 12-08-2005, 07:36 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Those columns are explained well (IMO) here.
 
Old 12-08-2005, 07:40 AM   #3
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
It controls whether the filesystems need dumping (my crude understanding is a backup) and whether they need checking on mounting. http://www.tuxfiles.org/linuxhelp/fstab.html explains the whole thing.

Usually, your root filesystem will be checked each time it is mounted for errors, and you can specify the order in which this happens. Usually, / will be 1 so that it is checked first, then you might want /home to be checked next so the last column would be 2, then maybe /var next, so that be 3, etc. I've never used the 5th to dump as I don't fully understand it!
 
Old 12-16-2005, 08:50 AM   #4
yoron
Member
 
Registered: Nov 2005
Posts: 120

Rep: Reputation: 15
0

The fifth field, (fs_freq), is used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. If the fifth field is not present, a value of zero is returned and dump will assume that the filesystem does not need to be dumped.

0

The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time
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.
 
Old 12-16-2005, 10:19 AM   #5
slazer
LQ Newbie
 
Registered: Oct 2005
Location: kuala lumpur, malaysia
Distribution: slackware, fedora
Posts: 26

Original Poster
Rep: Reputation: 15
thanks guys...
 
  


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
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
Two things I always see, and want. Stalkz Linux - Newbie 6 09-23-2004 09:29 PM
I need to know about two things. Kevin1290X KTPX Linux - Software 2 08-01-2004 01:13 PM
Okay a few things! DoobyWho Linux - General 19 02-18-2003 04:56 PM
2 things before you go... humanveal Linux - Software 21 08-25-2002 08:41 AM

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

All times are GMT -5. The time now is 02:28 AM.

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