2 Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3 Copyright (C) 2014-16 Christian Franke
5 $Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z 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 .TH UPDATE-SMART-DRIVEDB 8 "CURRENT_SVN_DATE" "CURRENT_SVN_VERSION" "SMART Monitoring Tools"
18 update-smart-drivedb \- update smartmontools drive database
21 .B update-smart-drivedb
27 .\"! [This man page is generated for the OS_MAN_FILTER version of smartmontools.
28 .\"! It does not contain info specific to other platforms.]
31 .B update-smart-drivedb
33 .B /usr/local/share/smartmontools/drivedb.h
36 from smartmontools SVN repository.
38 It tries to download first from the current branch and then from
39 trunk. The tools used for downloading are either
54 The old file is kept if the downloaded file is identical (ignoring
55 the differences in Id string) otherwise it is moved to
63 executable at path SMARTCTL for drive database syntax check.
64 The form \'\-s \-\' disables the syntax check.
66 .BR /usr/local/sbin/smartctl .
69 Use TOOL for download.
79 The default is the first one found in PATH.
82 Use URL of LOCATION for download. LOCATION is one of:
85 (Sourceforge code browser via HTTPS),
88 (SVN repository via HTTPS),
91 (SVN repository via HTTP),
94 (Trac code browser via HTTPS).
100 Use CA certificates from FILE to verify the peer.
103 Use CA certificate files from DIR to verify the peer.
106 Don't abort download if certificate verification fails.
107 This option is also required if a HTTP URL is selected with \'-u\' option.
110 Print download commands only.
117 # update-smart-drivedb
118 /usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB
122 The exit status is 0 if the database has been successfully
123 updated. If an error occurs the exit status is 1.
127 .B /usr/local/sbin/update-smart-drivedb
128 full path of this script.
130 .B /usr/local/sbin/smartctl
131 used to check syntax of new drive database.
133 .B /usr/local/share/smartmontools/drivedb.h
134 current drive database.
136 .B /usr/local/share/smartmontools/drivedb.h.old
137 previous drive database.
139 .B /usr/local/share/smartmontools/drivedb.h.error
140 new drive database if rejected due to syntax errors.
142 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
143 empty file created if downloaded file was identical.
146 \fBChristian Franke\fP.
148 This manual page was originally written by
149 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
152 To submit a bug report, create a ticket in smartmontools wiki:
154 <\fBhttp://www.smartmontools.org/\fP>.
156 Alternatively send the info to the smartmontools support mailing list:
158 <\fBhttps://lists.sourceforge.net/lists/listinfo/smartmontools-support\fB>.
161 \fBsmartctl\fP(8), \fBsmartd\fP(8).
164 CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
166 $Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z chrfranke $