Allow tmpfs in ksysguard disk space monitor
Needs ReviewPublic

Authored by jpalecek on Sep 3 2019, 2:23 PM.

Details

Reviewers
davidedmundson
Group Reviewers
Plasma
Summary

As tmpfs mounts are more widely used for shared memory in browsers like Chromium and Firefox, there is a need for more and more space in such filesystems, with grave circumstances when the space is exhausted - it causes instability, crashes or black display in both of these browsers. Given this importance, I suggest tmpfs should not be blacklisted from disk space reporting in ksysguardd. Because tmpfs "devices" don't start with a /, it is needed to obviate the test for "real" device names as well.

Test Plan

Open ksysguard
Check that sensor Disk Space/dev/shm/... is there
Check that it shows partly full when you have firefox running

Diff Detail

Repository
R106 KSysguard
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16058
Build 16076: arc lint + arc unit
jpalecek created this revision.Sep 3 2019, 2:23 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 3 2019, 2:23 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
jpalecek requested review of this revision.Sep 3 2019, 2:23 PM

@davidedmundson Can you please have a look at this?