diff options
author | Karel Zak | 2018-08-01 09:10:07 +0200 |
---|---|---|
committer | Karel Zak | 2018-08-01 09:10:07 +0200 |
commit | d5fd9ac6b208c5acdb6c0023757a7e2827474482 (patch) | |
tree | e7034e06d0282b1d2894370dc8857b79167f6e0b /sys-utils/umount.8 | |
parent | lscpu: add 'Address sizes' (diff) | |
download | kernel-qcow2-util-linux-d5fd9ac6b208c5acdb6c0023757a7e2827474482.tar.gz kernel-qcow2-util-linux-d5fd9ac6b208c5acdb6c0023757a7e2827474482.tar.xz kernel-qcow2-util-linux-d5fd9ac6b208c5acdb6c0023757a7e2827474482.zip |
umount: add --quiet option
The command umount supports things like --all-targets and --recursive
to umount all nodes in specified tree. Sometimes it makes sense to
aggressively use wildcards like /dev/sdb* and in this case --quiet
seems like a good choice
umount --quiet --all-targets /dev/sdb*
to suppress 'not mounted' error messages. The new option suppress only
these error messages and nothing else.
Addresses: https://github.com/karelzak/util-linux/issues/672
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/umount.8')
-rw-r--r-- | sys-utils/umount.8 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8 index cad7d2aae..136f6179c 100644 --- a/sys-utils/umount.8 +++ b/sys-utils/umount.8 @@ -155,6 +155,9 @@ Each option can be prefixed with .B no to indicate that no action should be taken for this option. .TP +.BR \-q , " \-\-quiet" +Suppress "not mounted" error messages. +.TP .BR \-R , " \-\-recursive" Recursively unmount each specified directory. Recursion for each directory will stop if any unmount operation in the chain fails for any reason. The relationship |