mount [-adfruvw] [-t fstype ]
mount [-dfruvw] special | mount_point
mount [-dfruvw] [-o options] [-t fstype ] special mount_point
Prepare and graft a special device or the remote node (
rhost:path) to the file
system tree at the directory
mount_point are not provided, the information is obtained from
Without arguments, the currently mounted files systems are output with options.
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s4 on /Volumes/Photos (hfs, local, journaled)
/dev/disk0s5 on /Volumes/DATA (hfs, local, journaled)
/dev/disk0s6 on /Volumes/CACHE+MAIL (hfs, local, journaled)
localhost:/VpHJ4VD2cF_wfkIaWdUjIK on /Volumes/MobileBackups (mtmfs, nosuid, read-only, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk1 on /Volumes/Swift (hfs, local, nodev, nosuid, read-only, noowners, quarantine, mounted by jsmith)
/dev/disk2s1 on /Volumes/07_jsmith (msdos, local, nodev, nosuid, read-only, noowners)
|All filesystems listed via getfsent(3) are mounted
- those marked as
- excluded by
- entries that are neither
nfs entries that also have
net as an option;
- and already mounted
| Causes everything to be done except for the actual system call.useful in conjunction with |
-v to determine what the mount command will attempt
| Mount the file system read-only (even the super-user may not write it). The same |
| Force the revocation of write access when downgrading from read-write to read-only.
| File System Type (local or external). There is no default local file system,
Type must be specified in order to mount a non-NFS filesystem. |
to mount all filesystems except those of type NFS and HFS:
mount -a -t nonfs,hfs
All file system types are either links or programs in
As of Elcaptain:
mount_afp, mount_cddafs,,mount_exfat mount_ftp, mount_msdos mount_ntfs,mount_udf
mount_acfs,mount_cd9660,,mount_devfs mount_fdesc mount_hfs, mount_nfs, mount_smbfs mount_webdav
lsvfs outputs the types currently loaded of filesystems
Filesystem Refs Flags
-------------------------------- ----- ---------------
hfs 7 local, dovolfs
msdos 1 local
More than one type may be specified in a comma separated list and
May indicate that the actions should only be taken on filesystems of the specified type.
Types can be prefixed with
no to specify the filesystem types for which action should not be taken. For
| Update the status of an already mounted file system .|
From read-only to read-write or vice versa. An attempt to
change from rw to rdonly will fail if files on the filesystem are currently open for writing unless
-f is specified.
Any of the
-o options may be changed.
The options are determined by extracting the current ones,
applying options specified by
-o and finally applying the
| Mount the file system read-write.
| Verbose mode.
Options specific to a filesystem type that is not one of the internally known types (see |
-t ) may be
passed as a comma separated list; these options are distinguished by a leading
Options that take a value are specified using the syntax
For example, nfs filesystems are mounted by the program
mount -t hfs -o nosuid,-w,-m=755 /dev/disk2s9 /tmp
causes mount to execute the equivalent of:
/sbin/mount_hfs -o nosuid -w -m 755 /dev/disk2s9 /tmp
The options specific to NFS filesystems are described in the mount_nfs(8) manual page.
|All I/O to the file system should be done asynchronously. This can be somewhat dangerous with respect to losing data
when faced with system crashes and power outages. This is also the default. It can be avoided with the noasync option.
| The same as -f; forces the revocation of write access when trying to downgrade a filesystem mount status from read-write to read-only.
| This filesystem should not force all I/O to be written asynchronously.
| This filesystem should be skipped when mount is run with the -a flag.
| 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.
|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.
| Ignore the ownership field for the entire volume. This causes all objects to appear as owned by user ID 99 and group ID 99. User ID 99 is interpreted as the current effective user ID, while group ID 99 is used directly and translates to |
|Do not allow |
set-user-identifier or set-group-identifier bits to take effect.
|The same as |
-r; mount the file system read-only (even the super-user may not write it).
| All I/O to the file system should be done synchronously.
|The same as |
-u; indicate that the status of an already mounted file system should be changed.
| Causes the namespace to appear as the union of directories of the mounted filesystem with corresponding directories in
the underlying filesystem. 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.
|Do not update the file access time when reading from a file. Useful on file systems where there are large
numbers of files and performance is more critical than updating the file access time (which is rarely ever important).
|indicates that the mount point should not be visible via the GUI (i.e., appear on the Desktop as a separate volume).
mount, getfsent, mount_afp, mount_cd9660, mount_cddafs, mount_fdesc, mount_hfs, mount_msdos, mount_nfs,
mount_smbfs, mount_udf, mount_webdav, umount