]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - update-smart-drivedb.8.in
Enhance dh_clean to clean up better
[mirror_smartmontools-debian.git] / update-smart-drivedb.8.in
1 .ig
2 Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3 Copyright (C) 2014-15 Christian Franke <smartmontools-support@lists.sourceforge.net>
4
5 $Id: update-smart-drivedb.8.in 4054 2015-04-15 19:04:49Z chrfranke $
6
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)
10 any later version.
11
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/>.
14
15 ..
16 .TH UPDATE-SMART-DRIVEDB 8 "CURRENT_SVN_DATE" "CURRENT_SVN_VERSION" "SMART Monitoring Tools"
17 .SH NAME
18 update-smart-drivedb \- update smartmontools drive database
19
20 .SH "SYNOPSIS"
21 .B update-smart-drivedb
22 .RB [ -v ]
23 .RI [ DESTFILE ]
24
25 .SH "DESCRIPTION"
26 .B update-smart-drivedb
27 updates
28 .B /usr/local/share/smartmontools/drivedb.h
29 or
30 .I DESTFILE
31 from smartmontools SVN repository.
32
33 It tries to download first from the current branch and then from
34 trunk. The tools used for downloading are either
35 .BR curl (1),
36 .BR wget "(1) or"
37 .BR lynx (1).
38 .\" %IF OS FreeBSD
39 On FreeBSD,
40 .BR fetch (1)
41 is used as a fallback.
42 .\" %ENDIF OS FreeBSD
43 .\" %IF OS OpenBSD
44 On OpenBSD,
45 .BR ftp (1)
46 is used as a fallback.
47 .\" %ENDIF OS OpenBSD
48
49 The old file is kept if the downloaded file is identical (ignoring
50 the differences in Id string) otherwise it is moved to
51 .BR drivedb.h.old .
52
53 .SH "OPTIONS"
54 .TP
55 \-v
56 verbose 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"
65 The exit status is 0 if the database has been successfully
66 updated. If an error occurs the exit status is 1.
67
68 .SH FILES
69 .TP
70 .B /usr/local/sbin/update-smart-drivedb
71 full path of this script.
72 .TP
73 .B /usr/local/sbin/smartctl
74 used to check syntax of new drive database.
75 .TP
76 .B /usr/local/share/smartmontools/drivedb.h
77 current drive database.
78 .TP
79 .B /usr/local/share/smartmontools/drivedb.h.old
80 previous drive database.
81 .TP
82 .B /usr/local/share/smartmontools/drivedb.h.error
83 new drive database rejected due to syntax errors.
84 .TP
85 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
86 empty file created if downloaded file was identical.
87
88 .SH AUTHORS
89 \fBChristian Franke\fP.
90 .br
91 This manual page was originally written by
92 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
93
94 .SH REPORTING BUGS
95 To submit a bug report, create a ticket in smartmontools wiki:
96 .br
97 <\fBhttp://www.smartmontools.org/\fP>.
98 .br
99 Alternatively 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
107 CURRENT_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 $