Thunar-volman mounts non-removable devices
Submitted by Stefan Seyfried
Assigned to Jannis Pohlmann
Description
Created attachment 7480 patch to only trigger on removable devices
for details, see also: https://bugzilla.opensuse.org/show_bug.cgi?id=949808
User runs "losetup $file.iso" and gets prompted to mount the iso file.
I created a quick patch which does check for udisks hints (but these are no longer available with udisks2) or if they are missing goes into sysfs and looks for the "removable" flag of the device and only triggers volman if the device is a removable one.
Patch is attached.
This patch is being shipped in openSUSE Tumbleweed (rolling release) right now, I'll submit it as an maintenance update to openSUSE Leap 42.3 soon.
Patch 7480, "patch to only trigger on removable devices":
thunar-volman-use-udisks-hints.diff
Version: 0.9.0