| Summary: | zfs support in ksysguard / system monitor widgets? | ||
|---|---|---|---|
| Product: | [Unmaintained] ksysguard | Reporter: | Jason Ormes <skryking> |
| Component: | ksysguardd | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | REOPENED --- | ||
| Severity: | normal | CC: | alex.aune, christophe.lavie, eridanired123, hueponik, plasma-bugs-null, qq1450377985+kdebugs, rr.underwood94 |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=504733 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | libmount example | ||
|
Description
Jason Ormes
2021-03-01 18:10:41 UTC
I would recommend pulling in a libmount (part of util-linux) dependency for doing this. Both ksysguardd and libmount are GPL-2 licensed. util-linux and libmount are fairly ubiquitous. Parsing the /etc/mtab file on linux can be tricky because of some unexpected allowed file names (like those containing '\r'), and it even reports which file systems are network file systems, pseudo-filesystems, swap, or special kernel filesystems by translating the f_type field that we don't currently do. I'm attaching a short example of how this can be done. If the dev's are OK with adding a libmount dependency, I can write up a patch for ksysguardd. I'm a new to KDE, so I'll need some help with the process. Created attachment 137183 [details]
libmount example
*** Bug 449123 has been marked as a duplicate of this bug. *** ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks! I'm trying to make a new page to the amount of free space on my zpool, but I can't find free space stats for the zpool. I believe the root cause is this issue, so I am reopening it. |