Name
umount
Synopsis
umount [-f] [-v] [-ttypes] { -a | -A | -hhostname} umount [-f] [-v] {special|mount_point}
Removes mounted volumes from the directory hierarchy.
Options
-
-a Unmount all filesystems listed in
fstabor Open Directory.-
-A Unmount all currently mounted filesystems, other than root’s.
-
-f Attempt to force the unmount.
-
-h Unmount all filesystems currently mounted from the specified server.
-
-t Restrict the use of the command to filesystems of the specified types presented in a comma-separated list, which may include
hfs,ufs,afp,nfs, or others.-
-v Enable verbose output.
-
special The form of this argument is particular to the type of filesystem being mounted and can be a disk device name, a fixed string, or something involving a server name and directory. See the individual
mount_typeentries for details.-
mount_point The directory on which the filesystem is mounted.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access