Name
umount
Synopsis
umount [-fv]device
|remotespec
umount -a|-A [-fv] [-hhost
] [-ttype
]
System administration command. Unmount a mounted filesystem.
device is a device name or other string
indicating what is mounted. A remotespec is a
string of the form host
:
directory
indicating a remote host and filesystem (typically mounted via
NFS). See also mount.
Options
-
-a
Unmount all filesystems listed in /etc/fstab or Open Directory. (See mount for information about Mac OS X and /etc/fstab.)
-
-A
Unmount all currently mounted filesystems, except for the root filesystem (mounted at /).
-
-f
Force the unmount. Open device files continue to work. Other file accesses fail.
-
-h
host
Unmount all filesystems from the server host.
-
-t
type
Unmount filesystems of only the specified type.
-
-v
Be verbose.
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.