Table 28-2 describes the general mount options that you can specify with the -o option of the mount command. If you specify multiple options, separate them with commas (no spaces). For example, -o ro,nosuid.
Table 28-2 General Mount Options
Option |
File System |
Description |
---|---|---|
-rw | ro |
CacheFS, NFS, PCFS, UFS, S5FS |
Specifies read/write or read-only. If you do not specify this option, the default is read/write. |
-nosuid |
HSFS, NFS, UFS |
Disallows setuid execution and prevents devices on the file system from being opened. The default is to allow setuid execution and allow devices to be opened. |
-remount |
NFS, UFS, S5FS |
With rw, remounts a file system with read/write access. |
-f |
UFS, S5FS |
Fakes an entry in /etc/mnttab, but doesn't really mount any file systems. |
-n |
UFS, S5FS |
Mounts the file system without making an entry in /etc/mnttab. |
-bg | fg |
NFS |
If the first attempt fails, retries in the background (bg) or in the foreground (fg). The default is fg. |
-soft | hard |
NFS |
Specifies the procedure if the server does not respond. soft indicates that an error is returned. hard indicates that the retry request is continued until the server responds. The default is hard. |
-intr | nointr |
NFS |
Specifies whether keyboard interrupts are allowed to kill a process hung while waiting for a response on hard-mounted file systems. The default is intr (interrupts allowed). |
-retry=n |
NFS |
Retries the mount operation when it fails. n is the number of times to retry. |