]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - update-smart-drivedb.8.in
Stop passing arguments to dh_installinit
[mirror_smartmontools-debian.git] / update-smart-drivedb.8.in
CommitLineData
d2e702cf
GI
1.ig
2Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
6b80b4d2 3Copyright (C) 2014-15 Christian Franke
d2e702cf 4
6b80b4d2 5$Id: update-smart-drivedb.8.in 4193 2015-12-19 14:43:50Z 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
6b80b4d2 22.RI [ OPTIONS ]
d2e702cf
GI
23.RI [ DESTFILE ]
24
d2e702cf 25.SH "DESCRIPTION"
6b80b4d2
JD
26.\" %IF NOT OS ALL
27.\"! [This man page is generated for the OS_MAN_FILTER version of smartmontools.
28.\"! It does not contain info specific to other platforms.]
29.\"! .PP
30.\" %ENDIF NOT OS ALL
d2e702cf
GI
31.B update-smart-drivedb
32updates
33.B /usr/local/share/smartmontools/drivedb.h
34or
35.I DESTFILE
36from smartmontools SVN repository.
37
38It tries to download first from the current branch and then from
39trunk. The tools used for downloading are either
40.BR curl (1),
6b80b4d2
JD
41.BR wget (1),
42.BR lynx (1),
d2e702cf 43.\" %IF OS FreeBSD
d2e702cf 44.BR fetch (1)
6b80b4d2 45[FreeBSD only],
d2e702cf
GI
46.\" %ENDIF OS FreeBSD
47.\" %IF OS OpenBSD
d2e702cf 48.BR ftp (1)
6b80b4d2 49[OpenBSD only],
d2e702cf 50.\" %ENDIF OS OpenBSD
6b80b4d2
JD
51or
52.BR svn (1).
d2e702cf
GI
53
54The old file is kept if the downloaded file is identical (ignoring
55the differences in Id string) otherwise it is moved to
56.BR drivedb.h.old .
57
58.SH "OPTIONS"
59.TP
6b80b4d2
JD
60.B \-s SMARTCTL
61Use the
62.BR smartctl (8)
63executable at path SMARTCTL for drive database syntax check.
64The form \'\-s \-\' disables the syntax check.
65The default is
66.BR /usr/local/sbin/smartctl .
67.TP
68.B \-t TOOL
69Use TOOL for download.
70TOOL is one of:
71.I curl wget lynx
72.\" %IF OS FreeBSD
73.I fetch
74.\" %ENDIF OS FreeBSD
75.\" %IF OS OpenBSD
76.I ftp
77.\" %ENDIF OS OpenBSD
78.IR svn .
79The default is the first one found in PATH.
80.TP
81.B \-u LOCATION
82Use URL of LOCATION for download. LOCATION is one of:
83.br
84.I sf
85(Sourceforge code browser via HTTP),
86.br
87.I svn
88(SVN repository via HTTPS),
89.br
90.I svni
91(SVN repository via HTTP),
92.br
93.I trac
94(Trac code browser via HTTPS).
95.br
96The default is
97.IR svn .
98.TP
99.B \-\-cacert FILE
100Use CA certificates from FILE to verify the peer.
101.TP
102.B \-\-capath DIR
103Use CA certificate files from DIR to verify the peer.
104.TP
105.B \-\-insecure
106Don't abort download if certificate verification fails.
107This option is also required if a HTTP URL is selected with \'-u\' option.
108.TP
109.B \-\-dryrun
110Print download commands only.
111.TP
112.B \-v
113Verbose output.
d2e702cf
GI
114
115.SH "EXAMPLES"
116.nf
117# update-smart-drivedb
118/usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB
119.fi
120
121.SH "EXIT STATUS"
122The exit status is 0 if the database has been successfully
123updated. If an error occurs the exit status is 1.
124
125.SH FILES
126.TP
127.B /usr/local/sbin/update-smart-drivedb
128full path of this script.
129.TP
130.B /usr/local/sbin/smartctl
131used to check syntax of new drive database.
132.TP
133.B /usr/local/share/smartmontools/drivedb.h
134current drive database.
135.TP
136.B /usr/local/share/smartmontools/drivedb.h.old
137previous drive database.
138.TP
139.B /usr/local/share/smartmontools/drivedb.h.error
6b80b4d2 140new drive database if rejected due to syntax errors.
d2e702cf
GI
141.TP
142.B /usr/local/share/smartmontools/drivedb.h.lastcheck
143empty file created if downloaded file was identical.
144
d2e702cf 145.SH AUTHORS
293b5ab8 146\fBChristian Franke\fP.
d2e702cf
GI
147.br
148This manual page was originally written by
149.BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
150
293b5ab8
JD
151.SH REPORTING BUGS
152To submit a bug report, create a ticket in smartmontools wiki:
153.br
154<\fBhttp://www.smartmontools.org/\fP>.
155.br
156Alternatively send the info to the smartmontools support mailing list:
157.br
158<\fBhttps://lists.sourceforge.net/lists/listinfo/smartmontools-support\fB>.
159
160.SH SEE ALSO
161\fBsmartctl\fP(8), \fBsmartd\fP(8).
162
163.SH PACKAGE VERSION
164CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
165.br
6b80b4d2 166$Id: update-smart-drivedb.8.in 4193 2015-12-19 14:43:50Z chrfranke $