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

NAME

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

SYNOPSIS

9       update-smart-drivedb [OPTIONS] [DESTFILE]
10

DESCRIPTION

12       [This man page is generated for the Linux version of smartmontools.  It
13       does not contain info specific to other platforms.]
14
15       update-smart-drivedb  updates   /usr/share/smartmontools/drivedb.h   or
16       DESTFILE from branches/RELEASE_7_0_DRIVEDB of smartmontools SVN reposi‐
17       tory.
18
19       The tools used for downloading are either curl(1), wget(1), lynx(1), or
20       svn(1).
21
22       [NEW  EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE] The downloaded file is
23       verified with OpenPGP/GPG key ID 721042C5.  The  public  key  block  is
24       included in the script.
25
26       The  old file is kept if the downloaded file is identical (ignoring the
27       differences in Id string) otherwise it is moved to drivedb.h.old.
28

OPTIONS

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

EXAMPLES

76       # update-smart-drivedb
77       /usr/share/smartmontools/drivedb.h updated from \
78       branches/RELEASE_7_0_DRIVEDB
79

EXIT STATUS

81       The exit status is 0 if the database has been successfully updated.  If
82       an error occurs the exit status is 1.
83

FILES

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

AUTHORS

110       Christian Franke.
111       This  manual  page  was  originally  written  by  Hannes  von  Haugwitz
112       <hannes@vonhaugwitz.com>.
113

REPORTING BUGS

115       To submit a bug report, create a ticket in smartmontools wiki:
116       <https://www.smartmontools.org/>.
117       Alternatively send the info to the smartmontools support mailing list:
118       <https://listi.jpberlin.de/mailman/listinfo/smartmontools-support>.
119

SEE ALSO

121       smartctl(8), smartd(8).
122

PACKAGE VERSION

124       smartmontools-7.0 2019-03-31 r4903
125       $Id: update-smart-drivedb.8.in 4879 2018-12-28 22:05:12Z chrfranke $
126
127
128
129smartmontools-7.0                 2019-03-31           UPDATE-SMART-DRIVEDB(8)
Impressum