diff options
author | Karel Zak | 2013-09-27 10:06:44 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-27 10:06:44 +0200 |
commit | 726f9fbf46c3e0427c47e7c68c69d4ae42191b71 (patch) | |
tree | b7da613beac7c0c4eb8ca9958d2c6736a6f14ee0 /libmount/docs | |
parent | libmount: small cleanup in umount code (diff) | |
download | kernel-qcow2-util-linux-726f9fbf46c3e0427c47e7c68c69d4ae42191b71.tar.gz kernel-qcow2-util-linux-726f9fbf46c3e0427c47e7c68c69d4ae42191b71.tar.xz kernel-qcow2-util-linux-726f9fbf46c3e0427c47e7c68c69d4ae42191b71.zip |
umount: provide more helpful error message
non-root user on device that is not mounted:
$ umount /mnt/flash
umount: /mnt/flash: umount failed: Operation not permitted
this is true, because we cannot evaluate permissions as there is no
entry in mtab, but users expect something more helpful -- for example
umount: /mnt/flash: not mounted
References: https://bugs.archlinux.org/task/31647
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/docs')
0 files changed, 0 insertions, 0 deletions