1UPDATE-SMART-DRIVEDB(8) SMART Monitoring Tools UPDATE-SMART-DRIVEDB(8)
2
3
4
6 update-smart-drivedb - update smartmontools drive database
7
8
10 update-smart-drivedb [OPTIONS] [DESTFILE]
11
12
14 [This man page is generated for the Linux version of smartmontools. It
15 does not contain info specific to other platforms.]
16
17 update-smart-drivedb updates /usr/share/smartmontools/drivedb.h or
18 DESTFILE from smartmontools SVN repository.
19
20 It tries to download first from the current branch and then from trunk.
21 The tools used for downloading are either curl(1), wget(1), lynx(1), or
22 svn(1).
23
24 The old file is kept if the downloaded file is identical (ignoring the
25 differences in Id string) otherwise it is moved to drivedb.h.old.
26
27
29 -s SMARTCTL
30 Use the smartctl(8) executable at path SMARTCTL for drive data‐
31 base syntax check. The form ´-s -´ disables the syntax check.
32 The default is /usr/sbin/smartctl.
33
34 -t TOOL
35 Use TOOL for download. TOOL is one of: curl wget lynx svn. The
36 default is the first one found in PATH.
37
38 -u LOCATION
39 Use URL of LOCATION for download. LOCATION is one of:
40 sf (Sourceforge code browser via HTTPS),
41 svn (SVN repository via HTTPS),
42 svni (SVN repository via HTTP),
43 trac (Trac code browser via HTTPS).
44 The default is svn.
45
46 --cacert FILE
47 Use CA certificates from FILE to verify the peer.
48
49 --capath DIR
50 Use CA certificate files from DIR to verify the peer.
51
52 --insecure
53 Don't abort download if certificate verification fails. This
54 option is also required if a HTTP URL is selected with ´-u´
55 option.
56
57 --dryrun
58 Print download commands only.
59
60 -v Verbose output.
61
62
64 # update-smart-drivedb
65 /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_6_5_DRIVEDB
66
67
69 The exit status is 0 if the database has been successfully updated. If
70 an error occurs the exit status is 1.
71
72
74 /usr/sbin/update-smart-drivedb
75 full path of this script.
76
77 /usr/sbin/smartctl
78 used to check syntax of new drive database.
79
80 /usr/share/smartmontools/drivedb.h
81 current drive database.
82
83 /usr/share/smartmontools/drivedb.h.old
84 previous drive database.
85
86 /usr/share/smartmontools/drivedb.h.error
87 new drive database if rejected due to syntax errors.
88
89 /usr/share/smartmontools/drivedb.h.lastcheck
90 empty file created if downloaded file was identical.
91
92
94 Christian Franke.
95 This manual page was originally written by Hannes von Haugwitz
96 <hannes@vonhaugwitz.com>.
97
98
100 To submit a bug report, create a ticket in smartmontools wiki:
101 <http://www.smartmontools.org/>.
102 Alternatively send the info to the smartmontools support mailing list:
103 <https://lists.sourceforge.net/lists/listinfo/smartmontools-support>.
104
105
107 smartctl(8), smartd(8).
108
109
111 smartmontools-6.5 2016-05-07 r4318
112 $Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z chrfranke $
113
114
115
116smartmontools-6.5 2016-05-07 UPDATE-SMART-DRIVEDB(8)