]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - update-smart-drivedb.8.in
Correct maintscript syntax
[mirror_smartmontools-debian.git] / update-smart-drivedb.8.in
CommitLineData
d2e702cf
GI
1.ig
2Copyright (C) 2013 Hannes von Haugwitz <hannes@vonhaugwitz.com>
3Copyright (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
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..
16.TH UPDATE-SMART-DRIVEDB 8 CURRENT_SVN_DATE CURRENT_SVN_VERSION CURRENT_SVN_DATE
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
25.SH PACKAGE VERSION
26CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV
27
28.SH "DESCRIPTION"
29.B update-smart-drivedb
30updates
31.B /usr/local/share/smartmontools/drivedb.h
32or
33.I DESTFILE
34from smartmontools SVN repository.
35
36It tries to download first from the current branch and then from
37trunk. The tools used for downloading are either
38.BR curl (1),
39.BR wget "(1) or"
40.BR lynx (1).
41.\" %IF OS FreeBSD
42On FreeBSD,
43.BR fetch (1)
44is used as a fallback.
45.\" %ENDIF OS FreeBSD
46.\" %IF OS OpenBSD
47On OpenBSD,
48.BR ftp (1)
49is used as a fallback.
50.\" %ENDIF OS OpenBSD
51
52The old file is kept if the downloaded file is identical (ignoring
53the differences in Id string) otherwise it is moved to
54.BR drivedb.h.old .
55
56.SH "OPTIONS"
57.TP
58\-v
59verbose 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"
68The exit status is 0 if the database has been successfully
69updated. If an error occurs the exit status is 1.
70
71.SH FILES
72.TP
73.B /usr/local/sbin/update-smart-drivedb
74full path of this script.
75.TP
76.B /usr/local/sbin/smartctl
77used to check syntax of new drive database.
78.TP
79.B /usr/local/share/smartmontools/drivedb.h
80current drive database.
81.TP
82.B /usr/local/share/smartmontools/drivedb.h.old
83previous drive database.
84.TP
85.B /usr/local/share/smartmontools/drivedb.h.error
86new drive database rejected due to syntax errors.
87.TP
88.B /usr/local/share/smartmontools/drivedb.h.lastcheck
89empty 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
100This 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 $