LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-02-2004, 12:00 PM   #1
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Rep: Reputation: 30
Entries in /etc/fstab


Hi.
I was just wondering what all the entries in /etc/fstab mean. I know their for filesystems, but what do the individual columns mean? Thanks.
 
Old 05-02-2004, 12:08 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
The first column is the actual device name - for instance /dev/hda1 for the first partition on the first IDE hard drive.

The second entry is the mountpoint, a directory where the you mount it so you can access the files on the partition (unless it's a swap partition).

The third is the partition type - "ext2" for ext2fs, swap, proc, reiserfs and so on.

The fourth is for the options to use with the mount command. They are comma-separated and vary depending on what filesystem type it is.

The two last ones are fsck (filesystem check) options that indicate in what order the partitions should be checked on bootup or manual fsck, it at all.

For more info, try man fstab and man mount.


Håkan
 
Old 05-03-2004, 11:07 PM   #3
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Thanks a lot. That helps.
 
Old 05-03-2004, 11:20 PM   #4
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Also, can you please explain th options a bit more in detail please. Thanks.
 
Old 05-03-2004, 11:57 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
http://man.linuxquestions.org/index....ction=0&type=2

this is the man page..........
IE.........
man fstab
 
Old 05-04-2004, 02:47 AM   #6
kamransoomro84
Member
 
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Ok thanks a lot.
 
Old 05-05-2004, 09:32 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Actually, the options are described in the mount manpage. The part you're looking for is the long listing relating to the -o switch where all non filesystem type-specific options are listed and explained.


Håkan
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Entries in fstab? bigoli MEPIS 1 06-02-2005 02:18 PM
Immortal fstab entries tmoorman Mandriva 1 02-05-2005 02:52 AM
Remount using fstab entries keimdf Linux - Newbie 5 12-22-2004 06:48 AM
fstab file entries what do they mean? bgagnon Suse/Novell 2 11-12-2004 02:23 PM
fstab entries for a storage drive Riichard Linux - Newbie 3 02-24-2004 06:21 AM


All times are GMT -5. The time now is 10:53 AM.

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