minix/man/man1/umount.1
David van Moolenbroek b31119abf5 Mount updates:
- allow mounting with "none" block device
- allow unmounting by mountpoint
- make VFS aware of file system process labels
- allow m3_ca1 to use the full available message size
- use *printf in u/mount(1), as mount(2) uses it already
- fix reference leaks for some mount error cases in VFS
2010-01-12 23:08:50 +00:00

35 lines
872 B
Groff

.TH UMOUNT 1
.SH NAME
umount \- unmount a mounted file system
.SH SYNOPSIS
\fBumount \fIname\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.EX "umount /dev/fd1" "Unmount diskette 1"
.EX "umount /mnt" "Unmount the file system mounted on /mnt"
.SH DESCRIPTION
.PP
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.
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).