2.11BSD/src/sbin/umount/umount.8

Compare this file to the similar file:
Show the results in this format:

.\" Copyright (c) 1980, 1989, 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @(#)umount.8	8.1.1 (2.11BSD) 1996/1/16
.\"
.TH UMOUNT 8 "January 16, 1996"
.UC 7
.SH NAME
\fBumount\fP \- unmount file systems
.SH SYNOPSIS
.B umount
[ \fB\-fv\fP ]
\fIspecial\fP | \fInode\fP
.br
.B umount \-a
[ \fB\-fv\fP ]
[ \fB\-t\fP \fIufs\fP | \fIexternal_type\fP ]
.SH DESCRIPTION
The
.B umount
command
calls the
umount(2)
system call to remove a
.I "special device"
from the file system tree at the point
.IR node .
If either
.I special
or
.I node
are not provided, the appropriate information is taken from the
fstab(5)
file.
.PP
The options are as follows:
.sp
.TP 10
.B \-a
All of the file systems described in
fstab(5)
are unmounted.
.TP 10
.B \-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.
This is not currently implemented in 2.11BSD.
.TP 10
\fB\-t\fP \fIufs\fP | \fIexternal type\fP
Is used to indicate the actions should only be taken on
filesystems of the specified type.
More than one type may be specified in a comma separated list.
The list of filesystem types can be prefixed with
.B no
to specify the filesystem types for which action should
.B not
be taken.
For example, the
.B umount
command:
.sp
umount -a -t nfs,mfs
.sp
umounts all filesystems of the type
NFS and MFS.
.sp
\fBNOTE\fP: Only UFS is supported by 2.11BSD.  The example is for illustrative
purposes only.
.TP 10
.B \-v
Verbose, additional information is printed out as each file system
is unmounted.
.SH FILES
.TP 15
/etc/fstab
file system table
.SH SEE ALSO
umount(2),
fstab(5),
mount(8)
.SH HISTORY
A
.B umount
command appeared in
Version 6 AT&T UNIX.