Name
mount
Synopsis
mount [-ttype] mount [-d] [-f] [-r] [-u] [-v] [-w] { [-ttypes] -a |special|mount_point| [-omount_options]specialmount_point]
Integrates volumes on local storage devices and network file servers into the system’s directory hierarchy.
The first form of the command merely lists currently mounted volumes.
The second form of the command mounts volumes, with one of four
possible sets of arguments. The -a flag causes all
filesystems (possibly limited to those of a certain
type) listed in /etc/fstab
or in the /mounts directory of an Open Directory
domain to be mounted, with the options given in the configuration. If
only special or mount_point
is provided, the associated fstab or Open
Directory entry is used to determine what’s mounted.
The final alternative specifies both special and
mount_point, and a possible list of options.
Options
-
-a Attempts to mount all filesystems listed in
fstabor Open Directory, other than those marked with thenoautooption.-
-d Disables the actual mount, but does everything else. May be useful when used with the
-vflag in a troubleshooting situation.-
-f When using the
-uflag and changing the status of a read-write filesystem to read-only, forces the revocation of write access. Normally the change is denied if any files are open for writing at the time of the request.-
-o Takes a comma-separated list of options, which may include
async,noauto,nodev,noexec,nosuid,union, and others. See themountmanpage for details.-
-r Mounts ...