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 Mojave:
9p acfs afp apfs cd9660 cddafs devfs exfat fdesc ftp hfs msdos nfs ntfs smbfs udf webdav
As of Elcaptain:
afp, cddafs,exfat ftp, msdos ntfs,udf acfs,cd9660,,devfs fdesc hfs, nfs, smbfs 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
NFS options are described in the mount_nfs(8)
|I/O done asynchronously, default. dangerous with respect to losing data with power outages
| not force all I/O to be written asynchronously.
| I/O done synchronously.
| forces the revocation of write access when trying to downgrade a filesystem mount status from read-write to read-only.
| skipped when |
mount run with
|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).
| Do not interpret character or block special devices on the file system. 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. useful for a server that has file systems containing binaries for architectures other than its own.
| Ignore the ownership field for the entire volume. causes 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 |
SUID set user identifier or
SGID set group identifier mode bits
|same as |
-r; mount the file system read-only (even the super-user may not write it).
| a mounted file system ( |
-u) status to 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.
|mount point not be visible via finder
mount, getfsent, mount_afp, mount_cd9660, mount_cddafs, mount_fdesc, mount_hfs, mount_msdos, mount_nfs,
mount_smbfs, mount_udf, mount_webdav, umount