D9895: [UDisks] Ignore non-user mounts

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Jan 15 18:01:04 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180115/52964993/attachment.html>


More information about the Kde-frameworks-devel mailing list