/etc/fstab format?

FrancisSong
FrancisSong used Ask the Experts™
on


Hi every one,
I am showing a picture of the content of my /etc/fstab file. I would like to undrestan the content I tryed to read in the web but I saw diffrent format!

I am using Fedora.

I would like to know all  devs listed in the file

Thanks
lll.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2007

Commented:
/etc/fstab is a file, divided into records (lines), which are divided in fields (separated by white space) the first field is the file system device file or UUID (hardware identification). The second field is the mount point (a regular old directory) where the file system is mounted. The third field is the file system type (msdos, iso9660, nfs, ext4, auto, etc) The fourth field are mount options, divided by commas. The last 2 fields determine if the file system will be checked by fsck automatically, and with what priority in relation to the other file systems. 0 0 means the file system will not be automatically checked. 1 1 will be checked, and will be first priority. 1 2 will be checked after 1 1.  

Author

Commented:

I can't understand what are files system devices (tmpfs)(devpts)(sysfs)? what they are there.?

tmpfs                   /dev/shm                tmpfs   defaults                  0 0
devpts                 /dev/pts                  devpts  gid=5,mode=620   0 0
sysfs                   /sys                        sysfs   defaults                    0 0
proc                    /proc                       proc    defaults                   0 0

Also is correct that the mount points should not world writeable for security reasons?

Author

Commented:
I can't understand what are files system devices (tmpfs)(devpts)(sysfs)? what they are there.?

tmpfs                   /dev/shm                tmpfs   defaults                  0 0
devpts                 /dev/pts                  devpts  gid=5,mode=620   0 0
sysfs                   /sys                        sysfs   defaults                    0 0
proc                    /proc                       proc    defaults                   0 0

Also is it correct that the mount points should not be world writeable for security reasons?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial