]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - update-smart-drivedb.8.in
Enhance dh_clean to clean up better
[mirror_smartmontools-debian.git] / update-smart-drivedb.8.in
CommitLineData
d2e702cf
GI
1.ig
2Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
293b5ab8 3Copyright (C) 2014-15 Christian Franke <smartmontools-support@lists.sourceforge.net>
d2e702cf 4
293b5ab8 5$Id: update-smart-drivedb.8.in 4054 2015-04-15 19:04:49Z chrfranke $
d2e702cf
GI
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12You should have received a copy of the GNU General Public License
13(for example COPYING); If not, see <http://www.gnu.org/licenses/>.
14
15..
293b5ab8 16.TH UPDATE-SMART-DRIVEDB 8 "CURRENT_SVN_DATE" "CURRENT_SVN_VERSION" "SMART Monitoring Tools"
d2e702cf
GI
17.SH NAME
18update-smart-drivedb \- update smartmontools drive database
19
20.SH "SYNOPSIS"
21.B update-smart-drivedb
22.RB [ -v ]
23.RI [ DESTFILE ]
24
d2e702cf
GI
25.SH "DESCRIPTION"
26.B update-smart-drivedb
27updates
28.B /usr/local/share/smartmontools/drivedb.h
29or
30.I DESTFILE
31from smartmontools SVN repository.
32
33It tries to download first from the current branch and then from
34trunk. The tools used for downloading are either
35.BR curl (1),
36.BR wget "(1) or"
37.BR lynx (1).
38.\" %IF OS FreeBSD
39On FreeBSD,
40.BR fetch (1)
41is used as a fallback.
42.\" %ENDIF OS FreeBSD
43.\" %IF OS OpenBSD
44On OpenBSD,
45.BR ftp (1)
46is used as a fallback.
47.\" %ENDIF OS OpenBSD
48
49The old file is kept if the downloaded file is identical (ignoring
50the differences in Id string) otherwise it is moved to
51.BR drivedb.h.old .
52
53.SH "OPTIONS"
54.TP
55\-v
56verbose output
57
58.SH "EXAMPLES"
59.nf
60# update-smart-drivedb
61/usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB
62.fi
63
64.SH "EXIT STATUS"
65The exit status is 0 if the database has been successfully
66updated. If an error occurs the exit status is 1.
67
68.SH FILES
69.TP
70.B /usr/local/sbin/update-smart-drivedb
71full path of this script.
72.TP
73.B /usr/local/sbin/smartctl
74used to check syntax of new drive database.
75.TP
76.B /usr/local/share/smartmontools/drivedb.h
77current drive database.
78.TP
79.B /usr/local/share/smartmontools/drivedb.h.old
80previous drive database.
81.TP
82.B /usr/local/share/smartmontools/drivedb.h.error
83new drive database rejected due to syntax errors.
84.TP
85.B /usr/local/share/smartmontools/drivedb.h.lastcheck
86empty file created if downloaded file was identical.
87
d2e702cf 88.SH AUTHORS
293b5ab8 89\fBChristian Franke\fP.
d2e702cf
GI
90.br
91This manual page was originally written by
92.BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
93
293b5ab8
JD
94.SH REPORTING BUGS
95To submit a bug report, create a ticket in smartmontools wiki:
96.br
97<\fBhttp://www.smartmontools.org/\fP>.
98.br
99Alternatively send the info to the smartmontools support mailing list:
100.br
101<\fBhttps://lists.sourceforge.net/lists/listinfo/smartmontools-support\fB>.
102
103.SH SEE ALSO
104\fBsmartctl\fP(8), \fBsmartd\fP(8).
105
106.SH PACKAGE VERSION
107CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
108.br
109$Id: update-smart-drivedb.8.in 4054 2015-04-15 19:04:49Z chrfranke $