1UPDATE-SMART-DRIVEDB(8)     SMART Monitoring Tools     UPDATE-SMART-DRIVEDB(8)
2
3
4

NAME

6       update-smart-drivedb - update smartmontools drive database
7
8

SYNOPSIS

10       update-smart-drivedb [OPTIONS] [DESTFILE]
11
12

DESCRIPTION

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 branches/RELEASE_7_2_DRIVEDB of smartmontools SVN reposi‐
19       tory.
20
21       The tools used for downloading are either curl(1), wget(1), lynx(1), or
22       svn(1).
23
24       The  downloaded file is verified with OpenPGP/GPG key ID 721042C5.  The
25       public key block is included in the script.
26
27       The old file is kept if the downloaded file is identical (ignoring  the
28       differences in Id string) otherwise it is moved to drivedb.h.old.
29
30

OPTIONS

32       -s SMARTCTL
33              Use  the smartctl(8) executable at path SMARTCTL for drive data‐
34              base syntax check.  The form '-s -' disables the  syntax  check.
35              The default is /usr/sbin/smartctl.
36
37       -t TOOL
38              Use TOOL for download.  TOOL is one of: curl wget lynx svn.  The
39              default is the first one found in PATH.
40
41       -u LOCATION
42              Use URL of LOCATION for download.  LOCATION is one of:
43              github (GitHub mirror of SVN repository),
44              sf (Sourceforge code browser),
45              svn (SVN repository),
46              svni (SVN repository via HTTP instead of HTTPS),
47              trac (Trac code browser).
48              The default is svn.
49
50       --trunk
51              Download from SVN trunk.  This requires '--no-verify' unless the
52              trunk    version    is    still    identical   to   branches/RE‐
53              LEASE_7_2_DRIVEDB.
54
55       --branch X.Y
56              [NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB  FEATURE]  Download  from
57              branches/RELEASE_X_Y_DRIVEDB.  This also selects the OpenPGP/GPG
58              key for older branches (5.40 to 6.6: Key ID DFD22559).
59
60       --cacert FILE
61              Use CA certificates from FILE to verify the peer.
62
63       --capath DIR
64              Use CA certificate files from DIR to verify the peer.
65
66       --insecure
67              Don't abort download if certificate  verification  fails.   This
68              option  is also required if a HTTP URL is selected with '-u' op‐
69              tion.
70
71       --no-verify
72              Don't verify signature with GnuPG.
73
74       --export-key
75              Print the OpenPGP/GPG public key block.
76
77       --dryrun
78              Print download commands only.
79
80       -v     Verbose output.
81
82

EXAMPLES

84       # update-smart-drivedb
85       /usr/share/smartmontools/drivedb.h updated from \
86       branches/RELEASE_7_2_DRIVEDB
87
88

EXIT STATUS

90       The exit status is 0 if the database has been successfully updated.  If
91       an error occurs the exit status is 1.
92
93

FILES

95       /usr/sbin/update-smart-drivedb
96              full path of this script.
97
98       /usr/sbin/smartctl
99              used to check syntax of new drive database.
100
101       /usr/share/smartmontools/drivedb.h
102              current drive database.
103
104       /usr/share/smartmontools/drivedb.h.raw
105              current drive database with unexpanded SVN Id string.
106
107       /usr/share/smartmontools/drivedb.h.raw.asc
108              signature file.
109
110       /usr/share/smartmontools/drivedb.h.*old*
111              previous files.
112
113       /usr/share/smartmontools/drivedb.h.*error*
114              new files if rejected due to errors.
115
116       /usr/share/smartmontools/drivedb.h.lastcheck
117              empty file created if downloaded file was identical.
118
119

AUTHORS

121       Christian Franke.
122       This  manual  page  was  originally  written  by  Hannes  von  Haugwitz
123       <hannes@vonhaugwitz.com>.
124
125

REPORTING BUGS

127       To submit a bug report, create a ticket in smartmontools wiki:
128       <https://www.smartmontools.org/>.
129       Alternatively send the info to the smartmontools support mailing list:
130       <https://listi.jpberlin.de/mailman/listinfo/smartmontools-support>.
131
132

SEE ALSO

134       smartctl(8), smartd(8).
135
136

PACKAGE VERSION

138       smartmontools-7.2 2020-12-30 r5155
139       $Id: update-smart-drivedb.8.in 5112 2020-11-07 11:41:13Z chrfranke $
140
141
142
143smartmontools-7.2                 2020-12-30           UPDATE-SMART-DRIVEDB(8)
Impressum