summaryrefslogtreecommitdiffstats
path: root/sys-utils/umount.8
diff options
context:
space:
mode:
authorKarel Zak2015-06-03 10:59:35 +0200
committerKarel Zak2015-06-03 11:02:25 +0200
commit28cdf9c61206034b733bf5dcbdea179b8238271f (patch)
treec11eb1049337e1dcc3084e226e2a2f691a1b11bd /sys-utils/umount.8
parentlscpu: add warning for __SANITIZE_ADDRESS__ (diff)
downloadkernel-qcow2-util-linux-28cdf9c61206034b733bf5dcbdea179b8238271f.tar.gz
kernel-qcow2-util-linux-28cdf9c61206034b733bf5dcbdea179b8238271f.tar.xz
kernel-qcow2-util-linux-28cdf9c61206034b733bf5dcbdea179b8238271f.zip
libmount: do not call umount helper on --fake
The umount.<type> helpers does not support --fake option and it does not make sense to call the helpers at all. All we need is to remove mtab/utab entries. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1172297 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/umount.8')
-rw-r--r--sys-utils/umount.85
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8
index 887d0ee02..8236ecddb 100644
--- a/sys-utils/umount.8
+++ b/sys-utils/umount.8
@@ -83,8 +83,9 @@ When the unmounted device was a loop device, also free this loop
device.
.TP
.B \-\-fake
-Causes everything to be done except for the actual system call; this 'fakes'
-unmounting the filesystem. It can be used to remove entries from
+Causes everything to be done except for the actual system call or umount helper
+execution; this 'fakes' unmounting the filesystem. It can be used to remove
+entries from
.I /etc/mtab
that were unmounted earlier with the
.B \-n