[hackers] [ubase] Add umount manpage and fix umount usage || sin

From: <git_AT_suckless.org>
Date: Sun, 13 Apr 2014 17:28:56 +0200

commit f58c4312a435b298570db4331d69cc8102e7fd81
Author: sin <sin_AT_2f30.org>
Date: Sun Apr 13 16:28:08 2014 +0100

    Add umount manpage and fix umount usage

diff --git a/umount.8 b/umount.8
new file mode 100644
index 0000000..0b3afdb
--- /dev/null
+++ b/umount.8
_AT_@ -0,0 +1,28 @@
+ Bumount R - Unmount file systems
+ Bumount R [ B-lfn R] Itarget... R
+ Bumount R B-a R [ B-lfn R]
+ Bumount R detaches the Itarget R 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.
+ B-l R
+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.
+ B-f R
+Force unmount (in case of an unreachable NFS server).
+ B-n R
+Unmount without writing in /etc/mtab. This is the default action.
+ B-a R
+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
index 3650709..485417c 100644
--- a/umount.c
+++ b/umount.c
_AT_@ -11,7 +11,7 @@ static int umountall(int);
 static void
- weprintf("usage: %s [-lfn] target
", argv0);
+ weprintf("usage: %s [-lfn] target...
", argv0);
         weprintf("usage: %s -a [-lfn]
", argv0);
Received on Sun Apr 13 2014 - 17:28:56 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 13 2014 - 17:36:10 CEST