D29688: Ignore mount paths that start with '/snap/'

Arjen Hiemstra noreply at phabricator.kde.org
Tue May 12 18:53:01 BST 2020


ahiemstra created this revision.
ahiemstra added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ahiemstra requested review of this revision.

REVISION SUMMARY
  Apparently, each snap is mounted as a squashfs file. This causes a lot
  of sensors to appear if many snaps are installed, with the potential to
  cause major slowdowns.
  
  Since there is no way of identifying these mounts other than their path,
  check to see if the path starts with '/snap/' and if so, exclude it.

TEST PLAN
  Snaps are excluded from the list of sensors in KSysGuard.

REPOSITORY
  R106 KSysguard

BRANCH
  ignore_snap_partitions

REVISION DETAIL
  https://phabricator.kde.org/D29688

AFFECTED FILES
  ksysguardd/Linux/diskstat.c

To: ahiemstra, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200512/92e32938/attachment.htm>


More information about the Plasma-devel mailing list