From: Karel Zak Date: Wed, 27 Feb 2013 10:23:33 +0000 (+0100) Subject: umount: add note about namespaces too --all-targets X-Git-Tag: v2.23-rc1~191 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f7bce865175486ee9c0544c334070cea0198059;p=thirdparty%2Futil-linux.git umount: add note about namespaces too --all-targets Signed-off-by: Karel Zak --- diff --git a/sys-utils/umount.8 b/sys-utils/umount.8 index c18e40ac23..1fa653c238 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 e8d18aa2c3..e88320d651 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);