-   Linux - General (
-   -   Entries in /etc/fstab (

kamransoomro84 05-02-2004 12:00 PM

Entries in /etc/fstab
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.

hw-tph 05-02-2004 12:08 PM

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.


kamransoomro84 05-03-2004 11:07 PM

Thanks a lot. That helps.

kamransoomro84 05-03-2004 11:20 PM

Also, can you please explain th options a bit more in detail please. Thanks.

320mb 05-03-2004 11:57 PM

this is the man page..........
man fstab

kamransoomro84 05-04-2004 02:47 AM

Ok thanks a lot.

hw-tph 05-05-2004 09:32 AM

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.


All times are GMT -5. The time now is 07:23 PM.