]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - update-smart-drivedb.8.in
Correct maintscript syntax
[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 Christian Franke <smartmontools-support@lists.sourceforge.net>
4
5 $Id: update-smart-drivedb.8.in 3961 2014-07-19 16:44:10Z 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 CURRENT_SVN_DATE
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 PACKAGE VERSION
26 CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
27
28 .SH "DESCRIPTION"
29 .B update-smart-drivedb
30 updates
31 .B /usr/local/share/smartmontools/drivedb.h
32 or
33 .I DESTFILE
34 from smartmontools SVN repository.
35
36 It tries to download first from the current branch and then from
37 trunk. The tools used for downloading are either
38 .BR curl (1),
39 .BR wget "(1) or"
40 .BR lynx (1).
41 .\" %IF OS FreeBSD
42 On FreeBSD,
43 .BR fetch (1)
44 is used as a fallback.
45 .\" %ENDIF OS FreeBSD
46 .\" %IF OS OpenBSD
47 On OpenBSD,
48 .BR ftp (1)
49 is used as a fallback.
50 .\" %ENDIF OS OpenBSD
51
52 The old file is kept if the downloaded file is identical (ignoring
53 the differences in Id string) otherwise it is moved to
54 .BR drivedb.h.old .
55
56 .SH "OPTIONS"
57 .TP
58 \-v
59 verbose output
60
61 .SH "EXAMPLES"
62 .nf
63 # update-smart-drivedb
64 /usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB
65 .fi
66
67 .SH "EXIT STATUS"
68 The exit status is 0 if the database has been successfully
69 updated. If an error occurs the exit status is 1.
70
71 .SH FILES
72 .TP
73 .B /usr/local/sbin/update-smart-drivedb
74 full path of this script.
75 .TP
76 .B /usr/local/sbin/smartctl
77 used to check syntax of new drive database.
78 .TP
79 .B /usr/local/share/smartmontools/drivedb.h
80 current drive database.
81 .TP
82 .B /usr/local/share/smartmontools/drivedb.h.old
83 previous drive database.
84 .TP
85 .B /usr/local/share/smartmontools/drivedb.h.error
86 new drive database rejected due to syntax errors.
87 .TP
88 .B /usr/local/share/smartmontools/drivedb.h.lastcheck
89 empty file created if downloaded file was identical.
90
91 .SH "SEE ALSO"
92 .BR smartctl (8),
93 .BR smartd (8).
94
95 .SH AUTHORS
96 \fBChristian Franke\fP
97 .br
98 \fBsmartmontools\-support@lists.sourceforge.net\fP
99 .br
100 This manual page was originally written by
101 .BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .
102
103 .SH SVN ID OF THIS PAGE
104 $Id: update-smart-drivedb.8.in 3961 2014-07-19 16:44:10Z chrfranke $