summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2013-02-27 11:23:33 +0100
committerKarel Zak2013-02-27 11:23:33 +0100
commit6f7bce865175486ee9c0544c334070cea0198059 (patch)
treeae33a6a8ab3359a04b044291b7a89d6e77bb336b
parentdocs: update deprecated.txt (diff)
downloadkernel-qcow2-util-linux-6f7bce865175486ee9c0544c334070cea0198059.tar.gz
kernel-qcow2-util-linux-6f7bce865175486ee9c0544c334070cea0198059.tar.xz
kernel-qcow2-util-linux-6f7bce865175486ee9c0544c334070cea0198059.zip
umount: add note about namespaces too --all-targets
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--sys-utils/umount.89
-rw-r--r--sys-utils/umount.c3
2 files changed, 6 insertions, 6 deletions
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8
index c18e40ac2..1fa653c23 100644
--- a/sys-utils/umount.8
+++ b/sys-utils/umount.8
@@ -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
diff --git a/sys-utils/umount.c b/sys-utils/umount.c
index e8d18aa2c..e88320d65 100644
--- a/sys-utils/umount.c
+++ b/sys-utils/umount.c
@@ -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);