2 Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3 Copyright (C) 2014-18 Christian Franke
5 SPDX-License-Identifier: GPL-2.0-or-later
7 $Id: update-smart-drivedb.8.in 4879 2018-12-28 22:05:12Z chrfranke $
10 .\" Macros borrowed from pages generated with Pod::Man
11 .de Vb \" Begin verbatim text
16 .de Ve \" End verbatim text
20 .\" Use groff extension \(aq (apostrophe quote, ASCII 0x27) if possible
23 .TH UPDATE-SMART-DRIVEDB 8 "CURRENT_SVN_DATE" "CURRENT_SVN_VERSION" "SMART Monitoring Tools"
25 update-smart-drivedb \- update smartmontools drive database
28 .B update-smart-drivedb
34 .\"! [This man page is generated for the OS_MAN_FILTER version of smartmontools.
35 .\"! It does not contain info specific to other platforms.]
38 .B update-smart-drivedb
40 .B /usr/local/share/smartmontools/drivedb.h
43 from branches/RELEASE_6_0_DRIVEDB of smartmontools SVN repository.
45 The tools used for downloading are either
60 [NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
61 The downloaded file is verified with OpenPGP/GPG key ID 721042C5.
62 The public key block is included in the script.
64 The old file is kept if the downloaded file is identical (ignoring
65 the differences in Id string) otherwise it is moved to
73 executable at path SMARTCTL for drive database syntax check.
74 The form \*(Aq\-s \-\*(Aq disables the syntax check.
76 .BR /usr/local/sbin/smartctl .
79 Use TOOL for download.
89 The default is the first one found in PATH.
92 Use URL of LOCATION for download.
96 (GitHub mirror of SVN repository),
99 (Sourceforge code browser),
105 (SVN repository via HTTP instead of HTTPS),
114 Download from SVN trunk.
115 This requires \*(Aq\-\-no\-verify\*(Aq unless the trunk version is still
116 identical to branches/RELEASE_6_0_DRIVEDB.
119 Use CA certificates from FILE to verify the peer.
122 Use CA certificate files from DIR to verify the peer.
125 Don't abort download if certificate verification fails.
126 This option is also required if a HTTP URL is selected with \*(Aq\-u\*(Aq
130 Don't verify signature with GnuPG.
133 Print the OpenPGP/GPG public key block.
136 Print download commands only.
143 # update-smart-drivedb
144 /usr/local/share/smartmontools/drivedb.h updated from \e
145 branches/RELEASE_6_0_DRIVEDB
149 The exit status is 0 if the database has been successfully
151 If an error occurs the exit status is 1.
155 .B /usr/local/sbin/update-smart-drivedb
156 full path of this script.
158 .B /usr/local/sbin/smartctl
159 used to check syntax of new drive database.
161 .B /usr/local/share/smartmontools/drivedb.h
162 current drive database.
164 .B /usr/local/share/smartmontools/drivedb.h.raw
165 current drive database with unexpanded SVN Id string.
167 .B /usr/local/share/smartmontools/drivedb.h.raw.asc
170 .B /usr/local/share/smartmontools/drivedb.h.*old*
173 .B /usr/local/share/smartmontools/drivedb.h.*error*
174 new files if rejected due to errors.
176 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
177 empty file created if downloaded file was identical.
180 \fBChristian Franke\fP.
182 This manual page was originally written by
183 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
186 To submit a bug report, create a ticket in smartmontools wiki:
188 <\fBhttps://www.smartmontools.org/\fP>.
190 Alternatively send the info to the smartmontools support mailing list:
192 <\fBhttps://listi.jpberlin.de/mailman/listinfo/smartmontools-support\fB>.
195 \fBsmartctl\fP(8), \fBsmartd\fP(8).
198 CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
200 $Id: update-smart-drivedb.8.in 4879 2018-12-28 22:05:12Z chrfranke $