update-smart-drivedb(8) 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 smartmontools SVN repository.

It tries to download first from the current branch and then from trunk. The tools used for downloading are either curl(1), wget(1), lynx(1), or svn(1).

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 HTTP),
svn (SVN repository via HTTPS),
svni (SVN repository via HTTP),
trac (Trac code browser via HTTPS).
The default is svn.
--cacert FILE
Use CA certificates from FILE to verify the peer.
--capath DIR
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.
Print download commands only.
Verbose output.


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


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


full path of this script.
used to check syntax of new drive database.
current drive database.
previous drive database.
new drive database if rejected due to syntax errors.
empty file created if downloaded file was identical.


Christian Franke.
This manual page was originally written by Hannes von Haugwitz <[email protected]>.


To submit a bug report, create a ticket in smartmontools wiki:
Alternatively send the info to the smartmontools support mailing list:


smartmontools-6.5 2016-01-24 r4214
$Id: update-smart-drivedb.8.in 4193 2015-12-19 14:43:50Z chrfranke $