Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UMOUNT(8)		  BSD System Manager's Manual		     UMOUNT(8)

NAME
     umount -- unmount file systems

SYNOPSIS
     umount [-fv] special | node
     umount -a | -A [-fv] [-h host] [-t	type]

DESCRIPTION
     The umount	utility	calls the unmount(2) system call to remove a special
     device or the remote node (rhost:path) from the file system tree at the
     point node.  If either special or node are	not provided, the appropriate
     information is taken from the fstab(5) file.

     The options are as	follows:

     -a	     All the file systems described in fstab(5)	are unmounted.

     -A	     All the currently mounted file systems except the root are	un-
	     mounted.

     -f	     The file system is	forcibly unmounted.  Active special devices
	     continue to work, but all other files return errors if further
	     accesses are attempted.  The root file system cannot be forcibly
	     unmounted.

     -h	host
	     Only file systems mounted from the	specified host will be un-
	     mounted.  This option implies the -A option and, unless otherwise
	     specified with the	-t option, will	only unmount NFS file systems.

     -t	type
	     Is	used to	indicate the actions should only be taken on file sys-
	     tems of the specified type.  More than one	type may be specified
	     in	a comma	separated list.	 The list of file system types can be
	     prefixed with "no"	to specify the file system types for which ac-
	     tion should not be	taken.	For example, the umount	command:

		   umount -a -t	nfs,nullfs

	     unmounts all file systems of the type NFS and NULLFS that are
	     listed in the fstab(5) file.

     -v	     Verbose, additional information is	printed	out as each file sys-
	     tem is unmounted.

FILES
     /etc/fstab	 file system table

SEE ALSO
     unmount(2), fstab(5), mount(8)

HISTORY
     A umount utility appeared in Version 6 AT&T UNIX.

BSD				  May 8, 1995				   BSD

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=umount&sektion=8&manpath=FreeBSD+5.0-RELEASE>

home | help