From e44fa853d712fcc523dd7545c00b461cc354ae79 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Mon, 23 Jul 2007 15:33:13 +0000 Subject: [PATCH] SMART Attributes: added 187, 189, more accurate name for 190 git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2419 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/CHANGELOG | 4 +++- sm5/atacmds.cpp | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index 7ade2d3a1..640560868 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.625 2007/07/22 19:38:44 chrfranke Exp $ +$Id: CHANGELOG,v 1.626 2007/07/23 15:33:13 ballen4705 Exp $ The most recent version of this file is: http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup @@ -33,6 +33,8 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [BA] SMART Attributes: added 187, 189, more accurate name for 190. + [CF] Windows: Added drive letters 'X:' as alternate disk device names. [CF] smartctl: Added '-F swapid' to fix ATA identify string byte diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index a3af95fd9..c3e324177 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -36,7 +36,7 @@ #include "extern.h" #include "utility.h" -const char *atacmds_c_cvsid="$Id: atacmds.cpp,v 1.186 2007/07/21 20:59:41 chrfranke Exp $" +const char *atacmds_c_cvsid="$Id: atacmds.cpp,v 1.187 2007/07/23 15:33:13 ballen4705 Exp $" ATACMDS_H_CVSID CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID SCSIATA_H_CVSID UTILITY_H_CVSID; // to hold onto exit code for atexit routine @@ -1830,6 +1830,12 @@ void ataPrintSmartAttribName(char *out, unsigned char id, unsigned char *definit case 13: name="Read_Soft_Error_Rate"; break; + case 187: + name="Reported_Uncorrect"; + break; + case 189: + name="High_Fly_Writes"; + break; case 190: // Western Digital uses this for temperature. // It's identical to Attribute 194 except that it @@ -1838,7 +1844,7 @@ void ataPrintSmartAttribName(char *out, unsigned char id, unsigned char *definit // is typically 55C. So if this attribute has failed // in the past, it indicates that the drive temp exceeded // 55C sometime in the past. - name="Temperature_Celsius"; + name="Airflow_Temperature_Cel"; break; case 191: name="G-Sense_Error_Rate"; -- GitLab