Module Name: src
Committed By: martin
Date: Sat Dec 12 13:01:18 UTC 2020
Modified Files:
src/sbin/atactl [netbsd-9]: atactl.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #1148):
sbin/atactl/atactl.c: revision 1.84
micron SMART 202 is percent lifetime used not remaining.
almost gave myself a heart attack when my server said 7% remaining!
To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.83.2.1 src/sbin/atactl/atactl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/atactl/atactl.c
diff -u src/sbin/atactl/atactl.c:1.83 src/sbin/atactl/atactl.c:1.83.2.1
--- src/sbin/atactl/atactl.c:1.83 Thu May 30 21:32:08 2019
+++ src/sbin/atactl/atactl.c Sat Dec 12 13:01:18 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: atactl.c,v 1.83 2019/05/30 21:32:08 mlelstv Exp $ */
+/* $NetBSD: atactl.c,v 1.83.2.1 2020/12/12 13:01:18 martin Exp $ */
/*-
* Copyright (c) 1998, 2019 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: atactl.c,v 1.83 2019/05/30 21:32:08 mlelstv Exp $");
+__RCSID("$NetBSD: atactl.c,v 1.83.2.1 2020/12/12 13:01:18 martin Exp $");
#endif
@@ -418,7 +418,7 @@ static const struct attr_table micron_sm
{ 189, "Factory bad block count", NULL },
{ 197, "Current pending ECC count", NULL },
{ 198, "SMART offline scan uncorrectable error count", NULL },
- { 202, "Percent lifetime remaining", NULL },
+ { 202, "Percent lifetime used", NULL },
{ 206, "Write error rate", NULL },
{ 247, "Number of NAND pages of data written by the host", NULL },
{ 248, "Number of NAND pages written by the FTL", NULL },