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

--- Comment #3 from Andrius Štikonas <andr...@stikonas.eu> ---
(In reply to physkets from comment #2)
> It is unlikely I will be able to figure it out, but could you point me to
> the relevant bits in the code?
> 
> I tried looking, but the GUI files seem to include a `smartstatus.h` that
> I'm unable to find. Could you help me out?

Those files are here
https://invent.kde.org/system/kpmcore/-/tree/master/src/core

There are four .cpp files dealing with smart.

smartstatus.cpp displays all that info that GUI requests. It's probably a bit
higher level stuff than you need. But you can take a brief look

smartparser.cpp on the other hand runs smartctl command in function
void SmartParser::loadSmartOutput()

adding option -d sat there might immediately help you with your drive but it
likely breaks other SMART drives.

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

Reply via email to