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_0_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
53              branches/RELEASE_7_0_DRIVEDB.
54
55       --cacert FILE
56              Use CA certificates from FILE to verify the peer.
57
58       --capath DIR
59              Use CA certificate files from DIR to verify the peer.
60
61       --insecure
62              Don't abort download if certificate  verification  fails.   This
63              option  is  also  required  if  a HTTP URL is selected with '-u'
64              option.
65
66       --no-verify
67              Don't verify signature with GnuPG.
68
69       --export-key
70              Print the OpenPGP/GPG public key block.
71
72       --dryrun
73              Print download commands only.
74
75       -v     Verbose output.
76
77

EXAMPLES

79       # update-smart-drivedb
80       /usr/share/smartmontools/drivedb.h updated from \
81       branches/RELEASE_7_0_DRIVEDB
82
83

EXIT STATUS

85       The exit status is 0 if the database has been successfully updated.  If
86       an error occurs the exit status is 1.
87
88

FILES

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

AUTHORS

116       Christian Franke.
117       This  manual  page  was  originally  written  by  Hannes  von  Haugwitz
118       <hannes@vonhaugwitz.com>.
119
120

REPORTING BUGS

122       To submit a bug report, create a ticket in smartmontools wiki:
123       <https://www.smartmontools.org/>.
124       Alternatively send the info to the smartmontools support mailing list:
125       <https://listi.jpberlin.de/mailman/listinfo/smartmontools-support>.
126
127

SEE ALSO

129       smartctl(8), smartd(8).
130
131

PACKAGE VERSION

133       smartmontools-7.1 2019-12-30 r5022
134       $Id: update-smart-drivedb.8.in 5003 2019-12-13 20:17:36Z chrfranke $
135
136
137
138smartmontools-7.1                 2019-12-30           UPDATE-SMART-DRIVEDB(8)
Impressum