<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Plasma, VDG, Frameworks.<br />Restricted Application added projects: Plasma, Frameworks.<br />Restricted Application added a subscriber: plasma-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9895" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This gets rid of all those internal mounts, such as /snap mounts.<br />
The approach is similar to GVFS which ignores everything outside /media, /home/user, and /media/run, cf. <a href="https://github.com/GNOME/gvfs/blob/master/monitor/udisks2/what-is-shown.txt" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/GNOME/gvfs/blob/master/monitor/udisks2/what-is-shown.txt</a><br />
Explicitly creating a mount in /etc/fstab outside of those directories is still possible and will always show up.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>My snaps no longer show up as "Loop Device"s<br />
Mounted an ISO file in my home dir, showed up fine<br />
Plugged in a USB key, showed up fine<br />
My cifs mount in /etc/fstab still showed up</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R245 Solid</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9895" rel="noreferrer">https://phabricator.kde.org/D9895</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/solid/devices/backends/udisks2/udisksstorageaccess.cpp<br />
src/solid/devices/backends/udisks2/udisksstoragevolume.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, VDG, Frameworks<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>