summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRian Hunter2018-10-13 04:48:47 +0200
committerKarel Zak2018-11-30 10:25:04 +0100
commit5fea669e9ef0a08804f72bb40f859f239f68c30a (patch)
tree6f920941074f13cddf044613bd9fb7fa2ad7e076 /lib
parentlib/canonicalize: do restricted canonicalize in a subprocess (diff)
downloadkernel-qcow2-util-linux-5fea669e9ef0a08804f72bb40f859f239f68c30a.tar.gz
kernel-qcow2-util-linux-5fea669e9ef0a08804f72bb40f859f239f68c30a.tar.xz
kernel-qcow2-util-linux-5fea669e9ef0a08804f72bb40f859f239f68c30a.zip
libmount: Support unmount FUSE mounts
FUSE mounts don't need an fstab entry to be unmounted. This checks if a mount is a FUSE mount before checking for the fstab entry, and if so returns success. [kzak@redhat.com: - use libmount tools for mount options - use namespace switches - cleanup code The requirement is user=<username> or user_id=<uid> in /proc/self/mountinfo for fuse filesystem. The logic is the same as for user= mount options, but in this case it is not maintained by libmount in userspace, but by fuse FS in kernel.] Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions