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.1 (Berkeley) 02/20/94 7.\" 8.Dd 9.Dt UMOUNT 8 10.Os BSD 4 11.Sh NAME 12.Nm umount 13.Nd unmount file systems 14.Sh SYNOPSIS 15.Nm umount 16.Op Fl fv 17.Ar special | node 18.Nm umount 19.Fl a 20.Op Fl fv 21.Op Fl h Ar host 22.Op Fl t Ar ufs | lfs | external_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 file system 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 of the file systems described in 45.Xr fstab 5 46are unmounted. 47.It Fl f 48The file system is forcibly unmounted. 49Active special devices continue to work, 50but all other files return errors if further accesses are attempted. 51The root file system cannot be forcibly unmounted. 52.It Fl h Ar host 53Only filesystems mounted from the specified host will be 54unmounted. 55This option is implies the 56.Fl a 57option and, unless otherwise specified with the 58.Fl t 59option, will only unmount NFS filesystems. 60.It Fl t Ar "ufs \\*(Ba lfs \\*(Ba external type" 61Is used to indicate the actions should only be taken on 62filesystems of the specified type. 63More than one type may be specified in a comma separated list. 64The list of filesystem types can be prefixed with 65.Dq no 66to specify the filesystem types for which action should 67.Em not 68be taken. 69For example, the 70.Nm umount 71command: 72.Bd -literal -offset indent 73umount -a -t nfs,mfs 74.Ed 75.Pp 76umounts all filesystems of the type 77.Tn NFS 78and 79.Tn MFS . 80.It Fl v 81Verbose, additional information is printed out as each file system 82is unmounted. 83.El 84.Sh FILES 85.Bl -tag -width /etc/fstab -compact 86.It Pa /etc/fstab 87file system table 88.El 89.Sh SEE ALSO 90.Xr unmount 2 , 91.Xr fstab 5 , 92.Xr mount 8 93.Sh HISTORY 94A 95.Nm umount 96command appeared in 97.At v6 . 98