Author: sin <firstname.lastname@example.org>
Date: Sun, 13 Apr 2014 16:28:08 +0100
Add umount manpage and fix umount usage
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/umount.8 b/umount.8
@@ -0,0 +1,28 @@
+.TH UMOUNT 8 ubase-VERSION
+\fBumount\fR - Unmount file systems
+\fBumount\fR [\fB-lfn\fR] \fItarget...\fR
+\fBumount\fR \fB-a\fR [\fB-lfn\fR]
+\fBumount\fR detaches the \fItarget\fR filesystem(s).
+A file system is specified by giving the directory where it
+has been mounted. Giving the special device on which the file system
+lives may also work, but is obsolete, mainly because it will fail in
+case this device was mounted on more than one directory.
+Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup
+all references to the filesystem as soon as it is not busy anymore.
+Force unmount (in case of an unreachable NFS server).
+Unmount without writing in /etc/mtab. This is the default action.
+All of the file systems described in /proc/mounts are unmounted. The
+proc filesystem is not unmounted.
diff --git a/umount.c b/umount.c
@@ -11,7 +11,7 @@ static int umountall(int);
- weprintf("usage: %s [-lfn] target\n", argv0);
+ weprintf("usage: %s [-lfn] target...\n", argv0);
weprintf("usage: %s -a [-lfn]\n", argv0);