1.\" Copyright (c) 1980, 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.roff% 5.\" 6.\" @(#)umount.8 8.2 (Berkeley) 05/08/95 7.\" 8.Dd 9.Dt UMOUNT 8 10.Os BSD 4 11.Sh NAME 12.Nm umount 13.Nd unmount filesystems 14.Sh SYNOPSIS 15.Nm umount 16.Op Fl fv 17.Ar special | node 18.Nm umount 19.Fl a | A 20.Op Fl fv 21.Op Fl h Ar host 22.Op Fl t Ar type 23.Sh DESCRIPTION 24The 25.Nm umount 26command 27calls the 28.Xr unmount 2 29system call to remove a 30.Ar "special device" 31or the remote node (rhost:path) from the filesystem tree at the point 32.Ar node . 33If either 34.Ar special 35or 36.Ar node 37are not provided, the appropriate information is taken from the 38.Xr fstab 5 39file. 40.Pp 41The options are as follows: 42.Bl -tag -width indent 43.It Fl a 44All the filesystems described in 45.Xr fstab 5 46are unmounted. 47.It Fl A 48All the currently mounted filesystems except 49the root are unmounted. 50.It Fl f 51The filesystem is forcibly unmounted. 52Active special devices continue to work, 53but all other files return errors if further accesses are attempted. 54The root filesystem cannot be forcibly unmounted. 55.It Fl h Ar host 56Only filesystems mounted from the specified host will be 57unmounted. 58This option is implies the 59.Fl A 60option and, unless otherwise specified with the 61.Fl t 62option, will only unmount NFS filesystems. 63.It Fl t Ar type 64Is used to indicate the actions should only be taken on 65filesystems of the specified type. 66More than one type may be specified in a comma separated list. 67The list of filesystem types can be prefixed with 68.Dq no 69to specify the filesystem types for which action should 70.Em not 71be taken. 72For example, the 73.Nm umount 74command: 75.Bd -literal -offset indent 76umount -a -t nfs,mfs 77.Ed 78.Pp 79umounts all filesystems of the type 80.Tn NFS 81and 82.Tn MFS . 83.It Fl v 84Verbose, additional information is printed out as each filesystem 85is unmounted. 86.El 87.Sh FILES 88.Bl -tag -width /etc/fstab -compact 89.It Pa /etc/fstab 90filesystem table 91.El 92.Sh SEE ALSO 93.Xr unmount 2 , 94.Xr fstab 5 , 95.Xr mount 8 96.Sh HISTORY 97A 98.Nm umount 99command appeared in 100.At v6 . 101