blob: f914994e92a760550cf25c15f12962f961d25e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
LIBATASMART ATA S.M.A.R.T. Reading and Parsing Library
GIT:
git://git.0pointer.de/libatasmart.git
GITWEB:
http://git.0pointer.de/?p=libatasmart.git
NOTES:
As the name suggests it only does ATA S.M:A.R.T., there is no
support for SCSI harddisks. SCSI S.M.A.R.T. is a very
different system, support for it should be implemented in a
seperate library "libscsismart" if there should ever be
support for it.
This library is supposed to be lean and small and thus
supports only a subset of the S.M.A.R.T. functionality.
However, I claim that it implements the relevant part of it.
If you need full control over all S.M.A.R.T. functionality of
your hardware please refer to Buce Allen's smartmontools.
This runs on Linux only. Patches to port it to other operating
systems are welcome, as long as they don't make the code
difficult to read and come with more than one or two
#ifdefs. I am happy to include patches for non-Linux systems
-- please note however that non-Linux operating systems are
relevant for release management. i.e. I want make sure that
libatasmart compiles fine on non-Linux systems before release.
libatasmart supports classic ATA/IDE disks (i.e. /dev/hda) as
well as ATA disks that are connected through a SCSI layer
(SAT) (such as a SATA /dev/sda).
USB disks generally don't support SAT and thus generally
cannot be queried for S.M.A.R.T. data.
ACKNOWLEDGMENTS:
This library is inspired by Bruce Allen's smartmontools and by
Emmanuel Varagnat's hddtemp. However libatasmart is completely
new code, not a single line has been copied from those two
projects.
LICENSE:
LGPLv2+
AUTHOR:
Lennart Poettering
REQUIREMENTS:
None (except Linux with a GLibc)
|