DOKK / manpages / debian 10 / smartmontools / update-smart-drivedb.8.en
UPDATE-SMART-DRIVEDB(8) SMART Monitoring Tools UPDATE-SMART-DRIVEDB(8)

update-smart-drivedb - update smartmontools drive database

update-smart-drivedb [OPTIONS] [DESTFILE]

[This man page is generated for the Linux version of smartmontools. It does not contain info specific to other platforms.]

update-smart-drivedb updates /var/lib/smartmontools/drivedb/drivedb.h or DESTFILE from branches/RELEASE_6_6_DRIVEDB of smartmontools SVN repository.

The tools used for downloading are either curl(1), wget(1), lynx(1), or svn(1).

[NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE] The downloaded file is verified with OpenPGP/GPG key ID DFD22559. The public key block is included in the script.

The old file is kept if the downloaded file is identical (ignoring the differences in Id string) otherwise it is moved to drivedb.h.old.

Use the smartctl(8) executable at path SMARTCTL for drive database syntax check. The form '-s -' disables the syntax check. The default is /usr/sbin/smartctl.
Use TOOL for download. TOOL is one of: curl wget lynx svn. The default is the first one found in PATH.
Use URL of LOCATION for download. LOCATION is one of:
sf (Sourceforge code browser via HTTPS),
svn (SVN repository via HTTPS),
svni (SVN repository via HTTP),
trac (Trac code browser via HTTPS).
The default is svn.
Download from SVN trunk. This requires '--no-verify' unless the trunk version is still identical to branches/RELEASE_6_6_DRIVEDB.
Use CA certificates from FILE to verify the peer.
Use CA certificate files from DIR to verify the peer.
Don't abort download if certificate verification fails. This option is also required if a HTTP URL is selected with '-u' option.
Don't verify signature with GnuPG.
Print the OpenPGP/GPG public key block.
Print download commands only.
Verbose output.

# update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h updated from \
branches/RELEASE_6_6_DRIVEDB

The exit status is 0 if the database has been successfully updated. If an error occurs the exit status is 1.

/usr/sbin/update-smart-drivedb
full path of this script.
/usr/sbin/smartctl
used to check syntax of new drive database.
/var/lib/smartmontools/drivedb/drivedb.h
current drive database.
/var/lib/smartmontools/drivedb/drivedb.h.raw
current drive database with unexpanded SVN Id string.
/var/lib/smartmontools/drivedb/drivedb.h.raw.asc
signature file.
/var/lib/smartmontools/drivedb/drivedb.h.*old*
previous files.
/var/lib/smartmontools/drivedb/drivedb.h.*error*
new files if rejected due to errors.
/var/lib/smartmontools/drivedb/drivedb.h.lastcheck
empty file created if downloaded file was identical.

Christian Franke.
This manual page was originally written by Hannes von Haugwitz <hannes@vonhaugwitz.com>.

To submit a bug report, create a ticket in smartmontools wiki:
<https://www.smartmontools.org/>.
Alternatively send the info to the smartmontools support mailing list:
<https://listi.jpberlin.de/mailman/listinfo/smartmontools-support>.

smartctl(8), smartd(8).

smartmontools-6.6 2017-11-05 r4594
$Id: update-smart-drivedb.8.in 4584 2017-11-03 22:43:32Z chrfranke $

2017-11-05 smartmontools-6.6