2 Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3 Copyright (C) 2014-15 Christian Franke <smartmontools-support@lists.sourceforge.net>
5 $Id: update-smart-drivedb.8.in 4054 2015-04-15 19:04:49Z 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
26 .B update-smart-drivedb
28 .B /usr/local/share/smartmontools/drivedb.h
31 from smartmontools SVN repository.
33 It tries to download first from the current branch and then from
34 trunk. The tools used for downloading are either
41 is used as a fallback.
46 is used as a fallback.
49 The old file is kept if the downloaded file is identical (ignoring
50 the differences in Id string) otherwise it is moved to
60 # update-smart-drivedb
61 /usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB
65 The exit status is 0 if the database has been successfully
66 updated. If an error occurs the exit status is 1.
70 .B /usr/local/sbin/update-smart-drivedb
71 full path of this script.
73 .B /usr/local/sbin/smartctl
74 used to check syntax of new drive database.
76 .B /usr/local/share/smartmontools/drivedb.h
77 current drive database.
79 .B /usr/local/share/smartmontools/drivedb.h.old
80 previous drive database.
82 .B /usr/local/share/smartmontools/drivedb.h.error
83 new drive database rejected due to syntax errors.
85 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
86 empty file created if downloaded file was identical.
89 \fBChristian Franke\fP.
91 This manual page was originally written by
92 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
95 To submit a bug report, create a ticket in smartmontools wiki:
97 <\fBhttp://www.smartmontools.org/\fP>.
99 Alternatively send the info to the smartmontools support mailing list:
101 <\fBhttps://lists.sourceforge.net/lists/listinfo/smartmontools-support\fB>.
104 \fBsmartctl\fP(8), \fBsmartd\fP(8).
107 CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
109 $Id: update-smart-drivedb.8.in 4054 2015-04-15 19:04:49Z chrfranke $