166165Sbostic.\" Copyright (c) 1980, 1989, 1991, 1993 266165Sbostic.\" The Regents of the University of California. All rights reserved. 366165Sbostic.\" 466165Sbostic.\" %sccs.include.redist.roff% 566165Sbostic.\" 6*69304Smckusick.\" @(#)umount.8 8.2 (Berkeley) 05/08/95 766165Sbostic.\" 866165Sbostic.Dd 966165Sbostic.Dt UMOUNT 8 1066165Sbostic.Os BSD 4 1166165Sbostic.Sh NAME 1266165Sbostic.Nm umount 13*69304Smckusick.Nd unmount filesystems 1466165Sbostic.Sh SYNOPSIS 1566165Sbostic.Nm umount 1666165Sbostic.Op Fl fv 1766165Sbostic.Ar special | node 1866165Sbostic.Nm umount 19*69304Smckusick.Fl a | A 2066165Sbostic.Op Fl fv 2166165Sbostic.Op Fl h Ar host 22*69304Smckusick.Op Fl t Ar type 2366165Sbostic.Sh DESCRIPTION 2466165SbosticThe 2566165Sbostic.Nm umount 2666165Sbosticcommand 2766165Sbosticcalls the 2866165Sbostic.Xr unmount 2 2966165Sbosticsystem call to remove a 3066165Sbostic.Ar "special device" 31*69304Smckusickor the remote node (rhost:path) from the filesystem tree at the point 3266165Sbostic.Ar node . 3366165SbosticIf either 3466165Sbostic.Ar special 3566165Sbosticor 3666165Sbostic.Ar node 3766165Sbosticare not provided, the appropriate information is taken from the 3866165Sbostic.Xr fstab 5 3966165Sbosticfile. 4066165Sbostic.Pp 4166165SbosticThe options are as follows: 4266165Sbostic.Bl -tag -width indent 4366165Sbostic.It Fl a 44*69304SmckusickAll the filesystems described in 4566165Sbostic.Xr fstab 5 4666165Sbosticare unmounted. 47*69304Smckusick.It Fl A 48*69304SmckusickAll the currently mounted filesystems except 49*69304Smckusickthe root are unmounted. 5066165Sbostic.It Fl f 51*69304SmckusickThe filesystem is forcibly unmounted. 5266165SbosticActive special devices continue to work, 5366165Sbosticbut all other files return errors if further accesses are attempted. 54*69304SmckusickThe root filesystem cannot be forcibly unmounted. 5566165Sbostic.It Fl h Ar host 5666165SbosticOnly filesystems mounted from the specified host will be 5766165Sbosticunmounted. 5866165SbosticThis option is implies the 59*69304Smckusick.Fl A 6066165Sbosticoption and, unless otherwise specified with the 6166165Sbostic.Fl t 6266165Sbosticoption, will only unmount NFS filesystems. 63*69304Smckusick.It Fl t Ar type 6466165SbosticIs used to indicate the actions should only be taken on 6566165Sbosticfilesystems of the specified type. 6666165SbosticMore than one type may be specified in a comma separated list. 6766165SbosticThe list of filesystem types can be prefixed with 6866165Sbostic.Dq no 6966165Sbosticto specify the filesystem types for which action should 7066165Sbostic.Em not 7166165Sbosticbe taken. 7266165SbosticFor example, the 7366165Sbostic.Nm umount 7466165Sbosticcommand: 7566165Sbostic.Bd -literal -offset indent 7666165Sbosticumount -a -t nfs,mfs 7766165Sbostic.Ed 7866165Sbostic.Pp 7966165Sbosticumounts all filesystems of the type 8066165Sbostic.Tn NFS 8166165Sbosticand 8266165Sbostic.Tn MFS . 8366165Sbostic.It Fl v 84*69304SmckusickVerbose, additional information is printed out as each filesystem 8566165Sbosticis unmounted. 8666165Sbostic.El 8766165Sbostic.Sh FILES 8866165Sbostic.Bl -tag -width /etc/fstab -compact 8966165Sbostic.It Pa /etc/fstab 90*69304Smckusickfilesystem table 9166165Sbostic.El 9266165Sbostic.Sh SEE ALSO 9366165Sbostic.Xr unmount 2 , 9466165Sbostic.Xr fstab 5 , 9566165Sbostic.Xr mount 8 9666165Sbostic.Sh HISTORY 9766165SbosticA 9866165Sbostic.Nm umount 9966165Sbosticcommand appeared in 10066165Sbostic.At v6 . 101