2 Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3 Copyright (C) 2014-17 Christian Franke
5 $Id: update-smart-drivedb.8.in 4584 2017-11-03 22:43:32Z chrfranke $
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 You should have received a copy of the GNU General Public License
13 (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
16 .\" Macros borrowed from pages generated with Pod::Man
17 .de Vb \" Begin verbatim text
22 .de Ve \" End verbatim text
26 .\" Use groff extension \(aq (apostrophe quote, ASCII 0x27) if possible
29 .TH UPDATE-SMART-DRIVEDB 8 "CURRENT_SVN_DATE" "CURRENT_SVN_VERSION" "SMART Monitoring Tools"
31 update-smart-drivedb \- update smartmontools drive database
34 .B update-smart-drivedb
40 .\"! [This man page is generated for the OS_MAN_FILTER version of smartmontools.
41 .\"! It does not contain info specific to other platforms.]
44 .B update-smart-drivedb
46 .B /usr/local/share/smartmontools/drivedb.h
49 from branches/RELEASE_6_0_DRIVEDB of smartmontools SVN repository.
51 The tools used for downloading are either
66 [NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
67 The downloaded file is verified with OpenPGP/GPG key ID DFD22559.
68 The public key block is included in the script.
70 The old file is kept if the downloaded file is identical (ignoring
71 the differences in Id string) otherwise it is moved to
79 executable at path SMARTCTL for drive database syntax check.
80 The form \*(Aq\-s \-\*(Aq disables the syntax check.
82 .BR /usr/local/sbin/smartctl .
85 Use TOOL for download.
95 The default is the first one found in PATH.
98 Use URL of LOCATION for download.
102 (Sourceforge code browser via HTTPS),
105 (SVN repository via HTTPS),
108 (SVN repository via HTTP),
111 (Trac code browser via HTTPS).
117 Download from SVN trunk.
118 This requires \*(Aq\-\-no\-verify\*(Aq unless the trunk version is still
119 identical to branches/RELEASE_6_0_DRIVEDB.
122 Use CA certificates from FILE to verify the peer.
125 Use CA certificate files from DIR to verify the peer.
128 Don't abort download if certificate verification fails.
129 This option is also required if a HTTP URL is selected with \*(Aq\-u\*(Aq
133 Don't verify signature with GnuPG.
136 Print the OpenPGP/GPG public key block.
139 Print download commands only.
146 # update-smart-drivedb
147 /usr/local/share/smartmontools/drivedb.h updated from \e
148 branches/RELEASE_6_0_DRIVEDB
152 The exit status is 0 if the database has been successfully
154 If an error occurs the exit status is 1.
158 .B /usr/local/sbin/update-smart-drivedb
159 full path of this script.
161 .B /usr/local/sbin/smartctl
162 used to check syntax of new drive database.
164 .B /usr/local/share/smartmontools/drivedb.h
165 current drive database.
167 .B /usr/local/share/smartmontools/drivedb.h.raw
168 current drive database with unexpanded SVN Id string.
170 .B /usr/local/share/smartmontools/drivedb.h.raw.asc
173 .B /usr/local/share/smartmontools/drivedb.h.*old*
176 .B /usr/local/share/smartmontools/drivedb.h.*error*
177 new files if rejected due to errors.
179 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
180 empty file created if downloaded file was identical.
183 \fBChristian Franke\fP.
185 This manual page was originally written by
186 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
189 To submit a bug report, create a ticket in smartmontools wiki:
191 <\fBhttps://www.smartmontools.org/\fP>.
193 Alternatively send the info to the smartmontools support mailing list:
195 <\fBhttps://listi.jpberlin.de/mailman/listinfo/smartmontools-support\fB>.
198 \fBsmartctl\fP(8), \fBsmartd\fP(8).
201 CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
203 $Id: update-smart-drivedb.8.in 4584 2017-11-03 22:43:32Z chrfranke $