Commit Graph

91 Commits

Author SHA1 Message Date
atatat d96c6bad93 Add some more attribute "names", taken from
http://freepgs.com/smart/attributes.php

which gets them from smartmontools as maintained by Bruce Allen.

Note that some of these attributes should be "named" differently
depending on the drive (point for future work?), but at least now
there are names for some of the one that were missing them.
2004-09-10 04:11:09 +00:00
atatat 2a3ef0e821 White space police 2004-09-10 03:43:52 +00:00
wiz 2e3cdda09c No leading zeroes in date string. 2004-08-02 23:16:02 +00:00
bouyer 502e9c8209 Add infrastructure for ATA bus commands, and implement the reset bus command. 2004-08-01 21:41:49 +00:00
mycroft 7f2778f63a Print the raw SMART values always. These are important in a bunch of cases --
e.g. for the load cycle count and power-cycle count.

Also, consistently treat the raw values as unsigned.
2004-03-28 01:23:15 +00:00
wiz 4fdf521f76 It's extension, not extention. From Miod Vallat (miod at online fr). 2004-03-14 20:11:24 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
thorpej 683cebe2c8 No longer need to include <dev/ic/wdcreg.h> 2003-12-30 19:30:39 +00:00
thorpej a443960167 Don't need to include atavar.h 2003-12-30 19:12:35 +00:00
lha 43ac17e0cf Extend SMART status to print temperature. Add support for printing
selftest log (but no code it start selftest yet).
2003-12-20 20:03:20 +00:00
yamt 020176e538 display more capabilities for "identify" command. 2003-11-30 14:07:49 +00:00
fvdl a8930c059a Fix various uses of NULL that should have been 0. 2003-10-21 02:30:03 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
mycroft 654deed34e Allow the enable command if SMART is not enabled. Duh.
Also, just blindly allow the disable command.
2002-09-13 18:31:41 +00:00
soren 1f8cf74815 Typo. 2002-08-15 19:17:04 +00:00
mycroft b916651e58 Correct the check for whether SMART is enabled. 2002-08-15 18:57:51 +00:00
soren 1cbfe6af00 Print symbolic names for SMART STATUS attributes. 2002-08-06 01:16:56 +00:00
wiz 7553d4030f Ispell. Drop .Pp before .Sh. 2002-08-06 00:44:36 +00:00
soren 1cc6ec32e5 s/smart info/smart status/ to better fit in with the standard's feature set. 2002-08-06 00:00:21 +00:00
soren 9e129fde67 Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
wiz 80d1ff493a Sort sections. 2001-11-16 11:21:37 +00:00
simonb 3d18c18669 Use the command set/feature *enabled* words when displaying what
command sets and features are enabled.
2001-09-07 16:33:50 +00:00
simonb cdcbbc115b ANSIfy. 2001-09-07 02:17:30 +00:00
ad 3839890ed7 errx() prints the newline for you. 2001-08-28 15:36:54 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
is 9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
ad 7101b4c03f Back out previous two - didn't follow the code properly. 2000-07-13 11:24:40 +00:00
ad 08d4945681 Fix previous. From Micheal Eriksson <eramore@era-t.ericsson.se>. 2000-07-13 11:19:54 +00:00
ad 92cca24f4e printf fmt string without %s, from OpenBSD. 2000-07-06 14:01:06 +00:00
hubertf c8057468ec fix typo: he -> the 2000-03-01 16:45:22 +00:00
soren 7c282714fa Fix typo. 1999-11-01 02:30:58 +00:00
soren 94872b2ccd Sync with scsictl: rearrange usage() and print list of commands. 1999-10-29 23:07:43 +00:00
soren 6129fbed1e Fix pastos. 1999-10-19 10:35:37 +00:00
jwise 14fe747212 Code to check for cooked device names was failing even if it succeeded in
opening the cooked device.  Also some typos.

Fixes part of PR bin/6883 from Soren S. Jorvang.
1999-02-24 18:49:14 +00:00
msaitoh 507f116754 s/.Ic/.Cm/ 1999-01-31 02:56:39 +00:00
msaitoh 00e131aa47 Fix some roff bugs.
We should use 'Ic' for internal command.
1999-01-30 10:22:45 +00:00
kenh 2e09168cb1 Implement a new command: "checkpower". Returns the current power management
mode of an ATA device.
1998-11-23 23:02:58 +00:00
kenh 1074143fcc Fix a warning that shows up on big-endian machines. 1998-11-20 18:27:40 +00:00
kenh d5b0705044 wdctl -> atactl 1998-11-19 23:54:59 +00:00