]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: add --quiet option
authorKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2018 07:10:07 +0000 (09:10 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2018 07:10:07 +0000 (09:10 +0200)
commitd5fd9ac6b208c5acdb6c0023757a7e2827474482
treee7034e06d0282b1d2894370dc8857b79167f6e0b
parent3e48ef72c1db91248ed597bea9a654738ad1d5e4
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>
sys-utils/umount.8
sys-utils/umount.c