I recent wrote about the format of the fstab file. One of the columns in the file specifies to the system how each file system should be mounted. There are a lot of possible options for that column, although the most common by far is defaults. Here are the other possibilities:
- auto: allows the system to be mounted with the -a option. In essence, mount -a will mount all file systems specified in the fstab file except those with the noauto mount option.
- defaults: a quick way to specify read/write/ suid/ dev/exec/auto/nouser/async.
- exec: allows applications on the file system to be executable (good security potential)
- noauto: opposite of auto (above)
- noexec: opposite of exec (above)
- nosuid: prevents the suid and sgid bits (if set) from being effective on the file system
- nouser: prevents normal users from mounting or unmounting the file system
- ro: read only
- rw: read/write
- suid: allows the suid and sgid bits to be effective on the file system
- user: allows a user to mount a file system and the same user to unmount it
- users: allows a user to mount a file sytem and any user to unmount it
There are three other options that I don’t fully understand yet:
- dev
- sync
- async
Anyone want to step in and clarify those for us?






Pingback: New Linux User » HOWTO: Mount a File System
Pingback: Getting Gnome Volume Manager to Play Nice « Helpful Linux Tidbits