Skip to content
Snippets Groups Projects
Commit c615eadc authored by pjwilliams's avatar pjwilliams
Browse files

Added list of proposed new options to README.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@343 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 1fdbc264
No related branches found
No related tags found
No related merge requests found
CHANGELOG for smartmontools CHANGELOG for smartmontools
$Id: CHANGELOG,v 1.64 2002/12/01 12:14:15 pjwilliams Exp $ $Id: CHANGELOG,v 1.65 2002/12/01 23:24:00 pjwilliams Exp $
Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
...@@ -32,6 +32,8 @@ NOTES FOR FUTURE RELEASES: see TODO file. ...@@ -32,6 +32,8 @@ NOTES FOR FUTURE RELEASES: see TODO file.
CURRENT RELEASE (see VERSION file in this directory): CURRENT RELEASE (see VERSION file in this directory):
[PW] Added list of proposed new options for smartctl to README.
[PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is
defined and uses getopt() otherwise. This is controlled by CPPFLAGS in defined and uses getopt() otherwise. This is controlled by CPPFLAGS in
the Makefile. the Makefile.
......
...@@ -101,3 +101,107 @@ Fourteen files are installed: ...@@ -101,3 +101,107 @@ Fourteen files are installed:
Source and binary RPM files are available at the website listed above. Source and binary RPM files are available at the website listed above.
PLEASE READ THE MANUAL PAGES FOR SMARTCTL AND SMARTD FOR MORE INFORMATION. PLEASE READ THE MANUAL PAGES FOR SMARTCTL AND SMARTD FOR MORE INFORMATION.
== PROPOSED OPTION NAMES FOR SMARTCTL ==
The following is a list of proposed options to replace the existing options in
smartctl. If you have any comments or would like to suggest improvements then
please post to the smartmontools mailing list.
-V, --version, --copyright, --license
Show version, copyright, and license info then exit
-q MODE, --quietmode=MODE
Set the quiet mode to one of errorsonly, silent
-d TYPE, --devicetype=TYPE
Set the device type to one of ata, scsi
-T N, --tolerance=N
Set tolerance level to one of:
0 - Exit if any SMART command fails
1 - Exit if a mandatory SMART command fails (default)
2 - Continue even if a mandatory SMART command fails
-k, --checksumfail
Exit on bad checksum
-s VALUE, --smart=VALUE
Enable/disable SMART. VALUE is one of on, off
-o VALUE, --offline=VALUE
Enable/disable automatic offline testing. VALUE is one of on, off
-S VALUE, --autosave=VALUE
Enable/disable autosave. VALUE is one of on, off
-h, --showstatus
Show SMART health status
-c, --showcapabilities
Show SMART capabilities
-a, --showattributes
Show SMART vendor attributes
-l TYPE, --showlog=TYPE
Show log: type is one of error, selftest
-i, --showinfo
Show drive information
-A, --showall
Show all SMART information. Equivalent to -hcai -l error -l selftest
-v N,OPTION , --vendoroptions=N,OPTION
Set vendor specific OPTION for attribute N. Currently supported are:
N OPTION Effect
-----------------------------------------------------------
009 minutes Display in minutes instead of hours
-t TEST, --test=TEST
Perform TEST immediately. TEST is one of offline, short, long
-C, --captive
When used with -t, performs test in captive mode. Has no effect on
offline test
-X, --abort
Abort any non-captive test
The following table shows the mapping of old options to new options:
-----------------------------------------------------------------------
Old option New short option New long option
-----------------------------------------------------------------------
-V -V --version, --copyright, --license
-i -i --showinfo
-q -q errorsonly --quietmode=errorsonly
-Q -q silent --quietmode=silent
-n -d ata --devicetype=ata
-N -d scsi --devicetype=scsi
-P -T 2 --tolerance=2
-U -T 0 --tolerance=0
-W -k --checksumfail
-e -s on --smart=on
-d -s off --smart=off
-t -o on --offline=on
-T -o off --offline=off
-f -S on --autosave=on
-F -S off --autosave=off
-c -h --showstatus
-g -c --showcapabilities
-v -a --showattributes
-l -l error --showlog=error
-L -l selftest --showlog=selftest
-a -A --showall
-m -v 9,minutes --vendoroptions=9,minutes
-O -t offline --test=offline
-S -t short --test=short
-s -Ct short --test=short --captive
-X -t long --test=long
-x -Ct long --test=long --captive
-A -X --abort
-----------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment