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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-02-2004, 01:00 PM
|
#1
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Rep:
|
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.
|
|
|
05-02-2004, 01:08 PM
|
#2
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
05-04-2004, 12:07 AM
|
#3
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Original Poster
Rep:
|
Thanks a lot. That helps.
|
|
|
05-04-2004, 12:20 AM
|
#4
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Original Poster
Rep:
|
Also, can you please explain th options a bit more in detail please. Thanks.
|
|
|
05-04-2004, 03:47 AM
|
#6
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Original Poster
Rep:
|
Ok thanks a lot.
|
|
|
05-05-2004, 10:32 AM
|
#7
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|