diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index 7e5e5d812f2f46672e0c3dd493ce5eb47346b809..bbfd2b3283c5ed0565e47d2ae23919b45798ac63 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.65 2002/12/01 23:24:00 pjwilliams Exp $ +$Id: CHANGELOG,v 1.66 2002/12/04 14:17:51 ballen4705 Exp $ Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> @@ -32,6 +32,9 @@ NOTES FOR FUTURE RELEASES: see TODO file. CURRENT RELEASE (see VERSION file in this directory): + [BA] smartd/smartctl added attribute 230 Head Amplitude from + IBM DPTA-353750. + [PW] Added list of proposed new options for smartctl to README. [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is diff --git a/sm5/atacmds.c b/sm5/atacmds.c index d6fd84443679dfcf57b55c192c478b17d40c59fe..10e17b848b6616133e313e8a43671a4423010593 100644 --- a/sm5/atacmds.c +++ b/sm5/atacmds.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.c,v 1.43 2002/11/26 12:37:12 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.c,v 1.44 2002/12/04 14:17:51 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -832,6 +832,10 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ case 228: name="Power-off_Retract_Count"; break; + case 230: + // seen in IBM DTPA-353750 + name="Head Amplitude"; + break; case 231: name="Temperature_Celsius"; break; diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index dea0f9edd465e0b7f571ad13f3d8cb014fce8fb0..7a3473f9823792aa37b900163555775782a3a396 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -29,7 +29,7 @@ #include <stdlib.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.cpp,v 1.43 2002/11/26 12:37:12 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.cpp,v 1.44 2002/12/04 14:17:51 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -832,6 +832,10 @@ void ataPrintSmartAttribName(char *out, unsigned char id){ case 228: name="Power-off_Retract_Count"; break; + case 230: + // seen in IBM DTPA-353750 + name="Head Amplitude"; + break; case 231: name="Temperature_Celsius"; break;