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