Options are specified with a
-o
flag followed by a comma separated string of options.
The following options are available:
- async
-
All
I/O
to the file system should be done asynchronously.
This is a
dangerous
flag to set,
and should not be used unless you are prepared to recreate the file
system should your system crash.
- force
-
The same as
-f
forces the revocation of write access when trying to downgrade
a filesystem mount status from read-write to read-only.
- noauto
-
This filesystem should be skipped when mount is run with the
-a
flag.
- nodev
-
Do not interpret character or block special devices on the file system.
This option is useful for a server that has file systems containing
special devices for architectures other than its own.
- noexec
-
Do not allow execution of any binaries on the mounted file system.
This option is useful for a server that has file systems containing
binaries for architectures other than its own.
- nosuid
-
Do not allow set-user-identifier or set-group-identifier bits to take effect.
- rdonly
-
The same as
-r
mount the file system read-only (even the super-user may not write it).
- sync
-
All
I/O
to the file system should be done synchronously.
- update
-
The same as
-u
indicate that the status of an already mounted file system should be changed.
- union
-
Causes the namespace at the mount point to appear as the union
of the mounted filesystem root and the existing directory.
Lookups will be done in the mounted filesystem first.
If those operations fail due to a non-existent file the underlying
directory is then accessed.
All creates are done in the mounted filesystem.
Any additional options specific to a filesystem type that is not
one of the internally known types (see the
-t
option) may be passed as a comma separated list; these options are
distinguished by a leading
``-''
(dash).
Options that take a value are specified using the syntax -option=value.
For example, the mount command:
mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
causes
mount
to execute the equivalent of:
/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp