Name

umount

Synopsis

umount [-f] [-v] [-t types] { -a | -A | -h hostname }
umount [-f] [-v] { special | mount_point }

Removes mounted volumes from the directory hierarchy.

Options

-a

Unmount all filesystems listed in fstab or 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_type entries for details.

mount_point

The directory on which the filesystem is mounted.

Get Mac OS X Panther in a Nutshell, 2nd 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.