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_6_6_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 DFD22559.  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              sf (Sourceforge code browser via HTTPS),
42              svn (SVN repository via HTTPS),
43              svni (SVN repository via HTTP),
44              trac (Trac code browser via HTTPS).
45              The default is svn.
46
47       --trunk
48              Download from SVN trunk.  This requires '--no-verify' unless the
49              trunk      version       is       still       identical       to
50              branches/RELEASE_6_6_DRIVEDB.
51
52       --cacert FILE
53              Use CA certificates from FILE to verify the peer.
54
55       --capath DIR
56              Use CA certificate files from DIR to verify the peer.
57
58       --insecure
59              Don't  abort  download  if certificate verification fails.  This
60              option is also required if a HTTP  URL  is  selected  with  '-u'
61              option.
62
63       --no-verify
64              Don't verify signature with GnuPG.
65
66       --export-key
67              Print the OpenPGP/GPG public key block.
68
69       --dryrun
70              Print download commands only.
71
72       -v     Verbose output.
73

EXAMPLES

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

EXIT STATUS

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

FILES

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

AUTHORS

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

REPORTING BUGS

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

SEE ALSO

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

PACKAGE VERSION

123       smartmontools-6.6 2017-11-05 r4594
124       $Id: update-smart-drivedb.8.in 4584 2017-11-03 22:43:32Z chrfranke $
125
126
127
128smartmontools-6.6                 2017-11-05           UPDATE-SMART-DRIVEDB(8)
Impressum