smartmontools/smartmontools
dpgilbert a03301953f missed a 'not' in the description of the previous patch; added
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5557 4ea69e1a-61f1-4043-bf83-b5c94c648137
2023-10-17 19:08:57 +00:00
..
examplescripts examplescripts/Example7: Fix check of parameter count (GH issues/169). 2023-01-26 18:15:26 +00:00
getopt getopt/*, regex/*: Add _GETOPT/REGEX*_STANDALONE configurations. 2018-08-19 17:39:21 +00:00
os_darwin add experimental support for the launchd startup 2016-01-25 17:12:37 +00:00
os_win32 os_win32/pe32edit.sh: Set svn:executable. 2023-08-21 17:16:08 +00:00
regex getopt/*, regex/*: Add _GETOPT/REGEX*_STANDALONE configurations. 2018-08-19 17:39:21 +00:00
.editorconfig os_win32/syslog_win32.cpp: Replace tabs. 2023-07-10 16:18:14 +00:00
AUTHORS Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
COPYING Replace COPYING file with current (2010-03-24) version from 2011-10-26 20:14:00 +00:00
ChangeLog missed a 'not' in the description of the previous patch; added 2023-10-17 19:08:57 +00:00
ChangeLog-5.0-6.0 smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
ChangeLog-6.0-7.0 smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
Doxyfile Remove 'scsiata.h'. 2009-07-24 16:47:03 +00:00
INSTALL INSTALL: Update ./configure description and Windows info. 2022-05-26 15:27:59 +00:00
Makefile.am macOS: set files timestamps in the ISO to SOURCE_DATE_EPOCH value 2023-09-16 07:30:14 +00:00
NEWS Release 7.4 RELEASE_7_4 2023-08-01 11:00:21 +00:00
README Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
TODO drivedb.h, smartctl.8.in, smartd.8.in, INSTALL, NEWS, TODO, WARNINGS: 2014-06-15 14:21:15 +00:00
aacraid.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
atacmdnames.cpp Replace all ASSERT_*() macros with STATIC_ASSERT(). 2019-07-01 20:54:14 +00:00
atacmdnames.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
atacmds.cpp atacmds.cpp: fix a logical error in function ataReadExtSelfTestLog 2023-02-14 18:26:21 +00:00
atacmds.h Add support for SCT Error Recovery Timer features added in ACS-4 (#1427). 2021-01-15 18:02:19 +00:00
ataidentify.cpp ataidentify.cpp, ataprint.cpp: ACS-4/5/6 enhancements. 2023-07-24 13:53:08 +00:00
ataidentify.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
ataprint.cpp ataprint.cpp: Don't print error log entries if error count is zero (#1745). 2023-09-11 12:54:05 +00:00
ataprint.h ataprint.cpp: Suggest '-x' option if only '-a' is used. 2023-06-25 17:09:03 +00:00
autogen.sh Makefile.am: Silence custom rules if 'make V=0' is used. 2023-09-07 17:22:49 +00:00
cciss.cpp cciss.cpp: Replace printf() and fprintf() with pout(). 2019-11-22 19:57:04 +00:00
cciss.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
cissio_freebsd.h Including FreeBSD ciss header to the base to avoid compilation problems. 2011-06-16 12:11:16 +00:00
configure.ac Makefile.am: Silence custom rules if 'make V=0' is used. 2023-09-07 17:22:49 +00:00
cppcheck.sh cppcheck.sh: Mark cppcheck 2.11 as tested. 2023-07-02 17:24:20 +00:00
csmisas.h Windows: Compile fixes for 64-bit Cygwin. 2013-03-24 18:36:21 +00:00
dev_areca.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
dev_areca.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_ata_cmd_set.cpp Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
dev_ata_cmd_set.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_intelliprop.cpp dev_intelliprop.cpp: Disable '-d intelliprop,N' and print deprecation 2023-02-05 14:44:07 +00:00
dev_interface.cpp dev_interface.cpp: Don't pass local buffer address to caller 2023-07-10 13:37:25 +00:00
dev_interface.h more RSOC work; simplify scsiPrintMain() 2023-02-12 05:13:17 +00:00
dev_jmb39x_raid.cpp dev_jmb39x_raid.cpp: Enhance LBA range from 33-62 to 1-255 (#1594). 2022-04-30 15:26:22 +00:00
dev_legacy.cpp Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_tunnelled.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
do_release do_release: Add '--nocheck' option. 2022-03-02 16:22:58 +00:00
drivedb.h drivedb.h: 2023-08-19 15:18:18 +00:00
farmcmds.cpp Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
farmcmds.h Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
farmprint.cpp ataprint.cpp, farmprint.cpp, scsiprint.cpp: Unify FARM related messages. 2023-06-26 12:01:37 +00:00
farmprint.h Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
freebsd_nvme_ioctl.h os_freebsd.cpp: Fix build under -CURRENT (patch by cy@) 2018-03-01 17:31:54 +00:00
json.cpp expand functionality of json::str2key() 2023-03-15 20:00:35 +00:00
json.h json.cpp, json.h: Allow to use any string for object keys. 2022-01-06 17:13:25 +00:00
knowndrives.cpp configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE. 2022-05-01 12:49:30 +00:00
knowndrives.h Print drive database version in smartctl and smartd. 2021-02-09 20:25:13 +00:00
linux_nvme_ioctl.h linux_nvme_ioctl.h: Replace with current version from Linux kernel sources 2019-08-04 14:39:24 +00:00
megaraid.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
netbsd_nvme_ioctl.h os_netbsd.cpp: Migrate to new dev_interface (ticket #101). 2016-09-25 16:46:49 +00:00
nvmecmds.cpp nvmecmds.cpp, nvmprint.cpp: Also suppress NVMe Namespace IEEE EUI-64 info 2023-05-30 12:36:57 +00:00
nvmecmds.h Add error messages for NVMe status values. 2023-05-29 12:22:41 +00:00
nvmeprint.cpp nvmeprint.cpp: Add JSON support for '-l error' and '-l selftest'. 2023-07-25 14:18:46 +00:00
nvmeprint.h Add NVMe self-test support to smartctl (#894). 2022-09-18 14:50:33 +00:00
os_darwin.cpp os_darwin.cpp: implement APM set feature, based on hdparm macOS sources 2021-02-14 18:02:51 +00:00
os_darwin.h os_darwin: Fix NVMe log support, cleanup 2020-06-24 08:08:38 +00:00
os_freebsd.cpp farmprint.cpp, os_freebsd.cpp: Use 'snprintf()' instead of 'sprintf()'. 2023-03-14 20:01:29 +00:00
os_freebsd.h Add '-d megaraid' support on the FreeBSD (#734) 2021-11-23 12:08:56 +00:00
os_generic.cpp Fix many typos. 2018-12-02 16:07:26 +00:00
os_generic.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_linux.cpp os_linux.cpp: Fix CK_COND issue for SATA disk and use C++11 or 2023-02-17 16:21:30 +00:00
os_linux.h Fix many typos. 2018-12-02 16:07:26 +00:00
os_netbsd.cpp [SCSI]: more work for calling REPORT SUPPORTED OPERATION CODES [RSOC] command 2022-05-29 05:08:10 +00:00
os_netbsd.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_openbsd.cpp [SCSI]: more work for calling REPORT SUPPORTED OPERATION CODES [RSOC] command 2022-05-29 05:08:10 +00:00
os_openbsd.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_os2.cpp configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE. 2022-05-01 12:49:30 +00:00
os_os2.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_qnxnto.cpp Fix many typos. 2018-12-02 16:07:26 +00:00
os_qnxnto.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
os_solaris.cpp [SCSI]: more work for calling REPORT SUPPORTED OPERATION CODES [RSOC] command 2022-05-29 05:08:10 +00:00
os_win32.cpp os_win32.cpp: Decode Windows 10 and 11 22H2 build numbers. 2022-11-22 17:30:56 +00:00
popen_as_ugid.cpp smartd.cpp, popen_as_ugid.cpp: Don't use 'getdtablesize()'. 2022-08-06 15:42:01 +00:00
popen_as_ugid.h smartd.cpp: Add ability to run warning script as non-privileged user. 2021-12-13 18:55:13 +00:00
scsiata.cpp scsiata.cpp: Suppress NO DATA commands for '-d usbasm1352r,N' device type. 2023-06-25 16:46:49 +00:00
scsicmds.cpp tweak to suppress a warning from gcc/g++ 9.3 2023-03-21 19:47:46 +00:00
scsicmds.h Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
scsinvme.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsiprint.cpp scsiprint.cpp : Format status indicates no format since manufacture 2023-10-17 04:26:48 +00:00
scsiprint.h Large update adding pulling and parsing of Seagate's vendor-specific 2023-03-13 10:45:06 +00:00
sg_unaligned.h switch usage of unaligned.h to sg_unaligned.h 2018-04-16 15:12:21 +00:00
smartctl.8.in man pages: Use CW font only if troff is used. 2023-07-24 16:32:43 +00:00
smartctl.cpp smartd.cpp: Don't write Copyright line to syslog. 2023-07-24 15:57:54 +00:00
smartctl.h Always add timestamp to JSON output (#1436). 2021-02-07 14:19:40 +00:00
smartd.8.in man pages: Use CW font only if troff is used. 2023-07-24 16:32:43 +00:00
smartd.conf smartd.conf: Align help text with 'smartd -D' output. 2023-07-24 11:38:18 +00:00
smartd.conf.5.in man pages: Use CW font only if troff is used. 2023-07-24 16:32:43 +00:00
smartd.cpp smartd.cpp: Don't write Copyright line to syslog. 2023-07-24 15:57:54 +00:00
smartd.cygwin.initd.in Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
smartd.freebsd.initd.in FreeBSD: sync init script with one from ports repository. 2012-03-06 13:16:45 +00:00
smartd.initd.in Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
smartd.service.in drivedb.h: Add xerrorlba flag to the WD Caviar Black (#1558) family 2022-01-14 08:02:52 +00:00
smartd_warning.sh.in smartd.cpp: Add '-M always' directive (#1018, GH issues/153). 2022-12-31 15:55:43 +00:00
sssraid.h Add SSSRAID (3SNIC RAID Controller) support on Linux (#1653). 2022-12-05 15:01:43 +00:00
static_assert.h Replace all ASSERT_*() macros with STATIC_ASSERT(). 2019-07-01 20:54:14 +00:00
update-smart-drivedb.8.in man pages: Use CW font only if troff is used. 2023-07-24 16:32:43 +00:00
update-smart-drivedb.in update-smart-drivedb.in: Unify syntax of command substitutions. 2022-04-24 15:11:30 +00:00
utility.cpp smartd.cpp: Don't write Copyright line to syslog. 2023-07-24 15:57:54 +00:00
utility.h smartd.cpp: Don't write Copyright line to syslog. 2023-07-24 15:57:54 +00:00

README

==========================================================
smartmontools - S.M.A.R.T. utility toolset for Darwin/Mac
OSX, FreeBSD, Linux, NetBSD, OpenBSD, Solaris, and Windows.
==========================================================

$Id$

== HOME ==
The home for smartmontools is located at:
    
    http://www.smartmontools.org/

Please see this web site for updates, documentation, and for submitting
patches and bug reports.

You will find a mailing list for support and other questions at:

    https://listi.jpberlin.de/mailman/listinfo/smartmontools-support


== COPYING ==
Copyright (C) 2002-9 Bruce Allen
Copyright (C) 2004-18 Christian Franke

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
Software Foundation; either version 2, or (at your option) any later
version.

You should have received a copy of the GNU General Public License (for
example COPYING).  If not, see <http://www.gnu.org/licenses/>.

SPDX-License-Identifier: GPL-2.0-or-later


== CREDITS ==
See AUTHORS file.


== OVERVIEW ==
smartmontools contains utilities that control and monitor storage
devices using the Self-Monitoring, Analysis and Reporting Technology
(SMART) system build into ATA/SATA and SCSI/SAS hard drives and
solid-state drives.  This is used to check the reliability of the
drive and to predict drive failures.


== CONTENTS ==
The suite contains two utilities:

smartctl is a command line utility designed to perform S.M.A.R.T. tasks
	 such as disk self-checks, and to report the S.M.A.R.T. status of
	 the disk.

smartd   is a daemon that periodically monitors S.M.A.R.T. status and
         reports errors and changes in S.M.A.R.T. attributes to syslog.


== OBTAINING SMARTMONTOOLS ==

Source tarballs
---------------

http://sourceforge.net/projects/smartmontools/files/

SVN
---

svn co http://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools smartmontools

This will create a subdirectory called smartmontools containing the code.

To instead get the 5.38 release:

svn co http://svn.code.sf.net/p/smartmontools/code/tags/RELEASE_5_38/sm5 smartmontools

You can see what the different tags are by looking at
http://sourceforge.net/p/smartmontools/code/HEAD/tree/tags/

== BUILDING/INSTALLING SMARTMONTOOLS ==

Refer to the "INSTALL" file for detailed installation instructions.

== GETTING STARTED ==

To examine SMART data from a disk, try:
  smartctl -a /dev/sda
See the manual page 'man smartctl' for more information.

To start automatic monitoring of your disks with the smartd daemon,
try:
  smartd -d
to start the daemon in foreground (debug) mode, or
  smartd
to start the daemon in background mode.  This will log messages to
SYSLOG.  If you would like to get email warning messages, please set
up the configuration file smartd.conf with the '-m' mail warning
Directive.  See the manual page 'man smartd' for more information.