broulik created this revision. broulik added reviewers: Plasma, VDG, Frameworks. Restricted Application added projects: Plasma, Frameworks. Restricted Application added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY This gets rid of all those internal mounts, such as /snap mounts. The approach is similar to GVFS which ignores everything outside /media, /home/user, and /media/run, cf. https://github.com/GNOME/gvfs/blob/master/monitor/udisks2/what-is-shown.txt Explicitly creating a mount in /etc/fstab outside of those directories is still possible and will always show up. TEST PLAN My snaps no longer show up as "Loop Device"s Mounted an ISO file in my home dir, showed up fine Plugged in a USB key, showed up fine My cifs mount in /etc/fstab still showed up REPOSITORY R245 Solid REVISION DETAIL https://phabricator.kde.org/D9895 AFFECTED FILES src/solid/devices/backends/udisks2/udisksstorageaccess.cpp src/solid/devices/backends/udisks2/udisksstoragevolume.cpp To: broulik, #plasma, #vdg, #frameworks Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart