2005-05-02 15:01:42 +02:00
|
|
|
.TH UMOUNT 1
|
|
|
|
.SH NAME
|
|
|
|
umount \- unmount a mounted file system
|
|
|
|
.SH SYNOPSIS
|
2010-01-13 00:08:50 +01:00
|
|
|
\fBumount \fIname\fR
|
2005-05-02 15:01:42 +02:00
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B umount /dev/fd1
|
|
|
|
# Unmount diskette 1
|
|
|
|
.TP 20
|
|
|
|
.B umount /mnt
|
|
|
|
# Unmount the file system mounted on /mnt
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
2010-01-13 00:08:50 +01:00
|
|
|
This command unmounts a file system identified by
|
|
|
|
.IR name .
|
|
|
|
This name may be either a block special file, or the path name of a mount
|
|
|
|
point.
|
2005-05-02 15:01:42 +02:00
|
|
|
A mounted file system is unmounted after the cache has been flushed to disk.
|
|
|
|
A diskette should never be removed while it is mounted.
|
|
|
|
If this happens, and is discovered before another diskette is inserted, the
|
|
|
|
original one can be replaced without harm.
|
|
|
|
Attempts to unmount a file system holding working directories or open files
|
|
|
|
will be rejected with a \&'device busy\&' message.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR mount (1),
|
|
|
|
.BR umount (2).
|