File-system mount options
As the filesystems in /etc/fstab will eventually be mounted using mount(8) it
isn't surprising that the options field simply contains a comma-seperated list
of options which will be passed directly to mount when it tries to mount the
filesystem.
The options common to all filesystems are:
- sync / async
- All I/O to the file system should be done (a)synchronously.
- auto
- The filesystem can be mounted automatically (at bootup, or when mount is
passed the -a option). This is really unnecessary as this is the default
action of mount -a anyway.
- noauto
- The filesystem will NOT be automatically mounted at startup, or
when mount passed -a. You must explicitly mount the filesystem.
- dev / nodev
- Permit any user to mount the filesyste. This automatically implies noexec,
- exec / noexec
- Permit/Prevent the execution of binaries from the filesystem.
- suid / nosuid
- Permit/Block the operation of suid, and sgid bits.
- ro
- Mount read-only.
- rw
- Mount read-write.
- user
- Permit any user to mount the filesystem. This automatically implies noexec,
nosuid,nodev unless overridden.
- nouser
- Only permit root to mount the filesystem. This is also a default setting.
- defaults
- Use default settings. Equivalent to rw,suid,dev,exec,auto,nouser,async.
There are numerous options for the specific filesystes supported by mount.
However these are some of the more useful, for the full list check out the man
page for `mount`.
- ext2
- check={none, normal, strict}
- Sets the fsck checking level.
- debug
- print debugging info on each remount.
- sb=n
- n is the block which should be used as the superblock for the fs.
- fat
- check={r[elaxed], n[ormal], s[trict]}
- Not the same as ext2. Rather deals with allowed filenames. See mount(8).
- conv={b[inary], t[ext], a[uto]}
- Performs DOS<->UNIX text file conversions automatically. See mount(8).
- uid=n, gid=n
- Set the uid, gid for all files on the filesystem.
- iso9660
- norock
- Disables Rock Ridge extensions.
<< Contents >>
Andrae Muys
Last modified: Thu Jan 6 20:05:57 EST 2000