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