.ig Copyright (C) 2013 Hannes von Haugwitz Copyright (C) 2014 Christian Franke $Id: update-smart-drivedb.8.in 3961 2014-07-19 16:44:10Z chrfranke $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. You should have received a copy of the GNU General Public License (for example COPYING); If not, see . .. .TH UPDATE-SMART-DRIVEDB 8 CURRENT_SVN_DATE CURRENT_SVN_VERSION CURRENT_SVN_DATE .SH NAME update-smart-drivedb \- update smartmontools drive database .SH "SYNOPSIS" .B update-smart-drivedb .RB [ -v ] .RI [ DESTFILE ] .SH PACKAGE VERSION CURRENT_SVN_VERSION CURRENT_SVN_DATE CURRENT_SVN_REV .SH "DESCRIPTION" .B update-smart-drivedb updates .B /usr/local/share/smartmontools/drivedb.h or .I DESTFILE from smartmontools SVN repository. It tries to download first from the current branch and then from trunk. The tools used for downloading are either .BR curl (1), .BR wget "(1) or" .BR lynx (1). .\" %IF OS FreeBSD On FreeBSD, .BR fetch (1) is used as a fallback. .\" %ENDIF OS FreeBSD .\" %IF OS OpenBSD On OpenBSD, .BR ftp (1) is used as a fallback. .\" %ENDIF OS OpenBSD The old file is kept if the downloaded file is identical (ignoring the differences in Id string) otherwise it is moved to .BR drivedb.h.old . .SH "OPTIONS" .TP \-v verbose output .SH "EXAMPLES" .nf # update-smart-drivedb /usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_6_0_DRIVEDB .fi .SH "EXIT STATUS" The exit status is 0 if the database has been successfully updated. If an error occurs the exit status is 1. .SH FILES .TP .B /usr/local/sbin/update-smart-drivedb full path of this script. .TP .B /usr/local/sbin/smartctl used to check syntax of new drive database. .TP .B /usr/local/share/smartmontools/drivedb.h current drive database. .TP .B /usr/local/share/smartmontools/drivedb.h.old previous drive database. .TP .B /usr/local/share/smartmontools/drivedb.h.error new drive database rejected due to syntax errors. .TP .B /usr/local/share/smartmontools/drivedb.h.lastcheck empty file created if downloaded file was identical. .SH "SEE ALSO" .BR smartctl (8), .BR smartd (8). .SH AUTHORS \fBChristian Franke\fP .br \fBsmartmontools\-support@lists.sourceforge.net\fP .br This manual page was originally written by .BR "Hannes von Haugwitz " . .SH SVN ID OF THIS PAGE $Id: update-smart-drivedb.8.in 3961 2014-07-19 16:44:10Z chrfranke $