From 5747a624c4490e8b2dff9f68f09da0506c1b59b5 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Wed, 23 Oct 2002 15:15:43 +0000 Subject: [PATCH] Trivial edits git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@94 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/ataprint.c | 4 ++-- sm5/ataprint.cpp | 4 ++-- sm5/smartctl.8 | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sm5/ataprint.c b/sm5/ataprint.c index 05281f6a4..9d34d7d08 100644 --- a/sm5/ataprint.c +++ b/sm5/ataprint.c @@ -28,7 +28,7 @@ #include "smartctl.h" #include "extern.h" -const char *CVSid4="$Id: ataprint.c,v 1.28 2002/10/23 14:29:49 ballen4705 Exp $\n" +const char *CVSid4="$Id: ataprint.c,v 1.29 2002/10/23 15:15:43 ballen4705 Exp $\n" "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ; // Function for printing ASCII byte-swapped strings, skipping white @@ -538,7 +538,7 @@ void ataPrintSmartErrorlog (struct ata_smart_errorlog data){ pout("\tER = Error register\n"); pout("\tSTA = Status register\n"); pout("Timestamp is seconds since the previous disk power-on.\n"); - pout("Note: timestamp \"wraps\" after 2^32 sec = 49.710 days.\n\n"); + pout("Note: timestamp \"wraps\" after 2^32 msec = 49.710 days.\n\n"); // now step through the five error log data structures (table 39 of spec) for (k = 4; k >= 0; k-- ) { diff --git a/sm5/ataprint.cpp b/sm5/ataprint.cpp index 82810d80d..9b625bed7 100644 --- a/sm5/ataprint.cpp +++ b/sm5/ataprint.cpp @@ -28,7 +28,7 @@ #include "smartctl.h" #include "extern.h" -const char *CVSid4="$Id: ataprint.cpp,v 1.28 2002/10/23 14:29:49 ballen4705 Exp $\n" +const char *CVSid4="$Id: ataprint.cpp,v 1.29 2002/10/23 15:15:43 ballen4705 Exp $\n" "\t" CVSID2 "\t" CVSID3 "\t" CVSID6 ; // Function for printing ASCII byte-swapped strings, skipping white @@ -538,7 +538,7 @@ void ataPrintSmartErrorlog (struct ata_smart_errorlog data){ pout("\tER = Error register\n"); pout("\tSTA = Status register\n"); pout("Timestamp is seconds since the previous disk power-on.\n"); - pout("Note: timestamp \"wraps\" after 2^32 sec = 49.710 days.\n\n"); + pout("Note: timestamp \"wraps\" after 2^32 msec = 49.710 days.\n\n"); // now step through the five error log data structures (table 39 of spec) for (k = 4; k >= 0; k-- ) { diff --git a/sm5/smartctl.8 b/sm5/smartctl.8 index 1f2529f17..a5ae46a5f 100644 --- a/sm5/smartctl.8 +++ b/sm5/smartctl.8 @@ -1,6 +1,6 @@ \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> \# -\# $Id: smartctl.8,v 1.15 2002/10/23 12:24:24 ballen4705 Exp $ +\# $Id: smartctl.8,v 1.16 2002/10/23 15:15:43 ballen4705 Exp $ \# \# This program is free software; you can redistribute it and/or modify it \# under the terms of the GNU General Public License as published by the Free @@ -15,7 +15,7 @@ \# at the Concurrent Systems Laboratory (now part of the Storage Systems \# Research Center), Jack Baskin School of Engineering, University of \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/ -.TH SMARTCTL 8 "$Date: 2002/10/23 12:24:24 $" "smartmontools-5.0" +.TH SMARTCTL 8 "$Date: 2002/10/23 15:15:43 $" "smartmontools-5.0" .SH NAME smartctl \- S.M.A.R.T. control utility .SH SYNOPSIS @@ -226,7 +226,9 @@ recorded, as is the device status (idle, standby, etc) at the time of the error. Finally, up to the last five commands that preceded the error are also recorded, along with a timestamp measured in seconds from when the disk was powered up during the session where the error -took place. The key ATA disk registers are also recorded in the log. +took place. [Note: this time stamp wraps after 2^32 milliseconds, or +49 days 17 hours 2 minutes and 47.296 seconds.] +The key ATA disk registers are also recorded in the log. .TP .B L Log: Prints only the S.M.A.R.T. self-test log. The disk maintains a @@ -439,4 +441,4 @@ Please let us know if there is an on\-line source for this document. .SH CVS ID OF THIS PAGE: -$Id: smartctl.8,v 1.15 2002/10/23 12:24:24 ballen4705 Exp $ +$Id: smartctl.8,v 1.16 2002/10/23 15:15:43 ballen4705 Exp $ -- GitLab