show HDD warnings based on sectors

This commit is contained in:
2026-04-28 21:20:30 +02:00
parent 157e769268
commit 831a892041
7 changed files with 191 additions and 9 deletions
+3
View File
@@ -28,6 +28,9 @@ private:
static bool parsePowerOnHours(std::string sLine, uint32_t &powerOnHours);
static bool parsePowerCycles(std::string sLine, uint32_t &powerCycles);
static bool parseTemperature(std::string sLine, uint32_t &temperature);
static bool parseReallocatedSectors(std::string sLine, uint32_t &reallocatedSectors);
static bool parsePendingSectors(std::string sLine, uint32_t &pendingSectors);
static bool parseUncorrectableSectors(std::string sLine, uint32_t &uncorrectableSectors);
};
#endif // SMART_H_