https://bugs.kde.org/show_bug.cgi?id=433804

--- Comment #1 from Robert Underwood <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to