]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
umount: add note about namespaces too --all-targets
authorKarel Zak <kzak@redhat.com>
Wed, 27 Feb 2013 10:23:33 +0000 (11:23 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Feb 2013 10:23:33 +0000 (11:23 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.8
sys-utils/umount.c

index c18e40ac236457aeda3c110129635b74ed44f2d6..1fa653c238a89736a0f196cdea1e33a38b6e9c8e 100644 (file)
@@ -67,11 +67,10 @@ version 2.7 and later: the
 filesystem is not unmounted.)
 .TP
 \fB\-A\fR, \fB\-\-all-targets\fR
-Unmount all mountpoints for the specified filesystem if the filesystem is
-mounted on more places. The filesystem could be specified by one of the
-mountpoints or device name (or UUID, etc.). This option could be used together
-with \fB\-\-recursive\fR then all nested mounts within the filesystem are
-recursively unmounted.
+Unmount all mountpoints in the current namespace for the specified filesystem.
+The filesystem could be specified by one of the mountpoints or device name (or
+UUID, etc.). This option could be used together with \fB\-\-recursive\fR then
+all nested mounts within the filesystem are recursively unmounted.
 .TP
 \fB\-c\fR, \fB\-\-no\-canonicalize\fR
 Do not canonicalize paths.  For more details about this option see the
index e8d18aa2c3d7d0493031d6b71db7f4207aef7fbb..e88320d651816296dae9e12758e9512b4ff716cd 100644 (file)
@@ -80,7 +80,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
 
        fputs(USAGE_OPTIONS, out);
        fputs(_(" -a, --all               unmount all filesystems\n"), out);
-       fputs(_(" -A, --all-targets       unmount all mountoins for the given device\n"), out);
+       fputs(_(" -A, --all-targets       unmount all mountpoins for the given device\n"
+               "                         in the current namespace\n"), out);
        fputs(_(" -c, --no-canonicalize   don't canonicalize paths\n"), out);
        fputs(_(" -d, --detach-loop       if mounted loop device, also free this loop device\n"), out);
        fputs(_("     --fake              dry run; skip the umount(2) syscall\n"), out);