has the specified label.
-l, --show-labels
Add the labels in the mount output. mount must have permission to
read the disk device (e.g. be set-user-ID root) for this to work.
One can set such a label for ext2, ext3 or ext4 using the e2label(8)
utility, or for XFS using xfs_admin(8), or for reiserfs using
reiserfstune(8).
-M, --move
Move a subtree to some other place. See above, the subsection The
move operation.
-m, --mkdir[=mode]
Allow to make a target directory (mountpoint) if it does not exist
yet. Alias to "-o X-mount.mkdir[=mode]", the default mode is 0755.
For more details see X-mount.mkdir below.
-n, --no-mtab
Mount without writing in /etc/mtab. This is necessary for example
when /etc is on a read-only filesystem.
-N, --namespace ns
Perform the mount operation in the mount namespace specified by ns.
ns is either PID of process running in that namespace or special
file representing that namespace.
mount switches to the mount namespace when it reads /etc/fstab,
writes /etc/mtab: (or writes to _/run/mount) and calls mount(2),
otherwise it runs in the original mount namespace. This means that
the target namespace does not have to contain any libraries or other
requirements necessary to execute the mount(2) call.
See mount_namespaces(7) for more information.
-O, --test-opts opts
Limit the set of filesystems to which the -a option applies. In this
regard it is like the -t option except that -O is useless without
-a. For example, the command
mount -a -O no_netdev
mounts all filesystems except those which have the option netdev
specified in the options field in the /etc/fstab file.
It is different from -t in that each option is matched exactly; a
leading no at the beginning of one option does not negate the rest.
The -t and -O options are cumulative in effect; that is, the command
mount -a -t ext2 -O _netdev
mounts all ext2 filesystems with the _netdev option, not all
filesystems that are either ext2 or have the _netdev option
specified.
-o, --options opts
Use the specified mount options. The opts argument is a
comma-separated list. For example:
mount LABEL=mydisk -o noatime,nodev,nosuid
Note that the order of the options matters, as the last option wins
if there are conflicting ones. The options from the command line
also overwrite options from fstab by default.
For more details, see the FILESYSTEM-INDEPENDENT MOUNT OPTIONS and
FILESYSTEM-SPECIFIC MOUNT OPTIONS sections.
--onlyonce
Forces mount command to check if the filesystem is already mounted.
This behavior is the default for --all; otherwise, it depends on the
kernel filesystem driver. Some filesystems may be mounted more than
once on the same mount point (e.g. tmpfs).
--options-mode mode
Controls how to combine options from fstab/mtab with options from
the command line. mode can be one of ignore, append, prepend or
replace. For example, append means that options from fstab are
appended to options from the command line. The default value is
prepend — it means command line options are evaluated after fstab
options. Note that the last option wins if there are conflicting
ones.
--options-source source
Source of default options. source is a comma-separated list of
fstab, mtab and disable. disable disables fstab and mtab and enables
--options-source-force. The default value is fstab,mtab.