]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Added man page for update-smart-drivedb
authorGiuseppe Iuculano <iuculano@debian.org>
Sun, 2 Jun 2013 09:12:16 +0000 (11:12 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Sun, 2 Jun 2013 09:12:16 +0000 (11:12 +0200)
Closes: #708433
Thanks: Hannes von Haugwitz

debian/rules
debian/update-smart-drivedb.8 [new file with mode: 0644]

index 8670a16b63009c5b929b61f85c404abd39f051fb..fa0dc7f17a2e359bda38e6b869fa4b18acce9c06 100755 (executable)
@@ -102,7 +102,7 @@ binary-arch: build install
        dh_install
        dh_installinit -- start 20 2 3 4 5 . stop 20 1 .
        dh_installcron
-       dh_installman
+       dh_installman debian/update-smart-drivedb.8
        dh_installinfo
        dh_lintian
        dh_installchangelogs ChangeLog
diff --git a/debian/update-smart-drivedb.8 b/debian/update-smart-drivedb.8
new file mode 100644 (file)
index 0000000..154ccd2
--- /dev/null
@@ -0,0 +1,48 @@
+.TH UPDATE-SMART-DRIVEDB 8 "May 15, 2013" "smartmontools" ""
+.SH "NAME"
+update-smart-drivedb \- update smartmontools drive database
+.SH "SYNOPSIS"
+.B update-smart-drivedb
+.RB [ -v ]
+.RI [ DESTFILE ]
+
+.SH "DESCRIPTION"
+.B update-smart-drivedb
+updates
+.B /usr/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).
+
+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/share/smartmontools/drivedb.h updated from branches/RELEASE_5_43_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 "SEE ALSO"
+.BR smartctl(8),
+.BR smartd (8).
+
+.SH "AUTHOR"
+This manual page was written by
+.BR "Hannes von Haugwitz <hannes@vonhaugwitz.com>" .