| 435 | == Update the drive database == |
| 436 | |
| 437 | Starting with smartmontools 5.40 the drive database file {{{drivedb.h}}} can be updated separately with the following command |
| 438 | {{{ |
| 439 | # /usr/sbin/update-smart-drivedb |
| 440 | }}} |
| 441 | This command uses [http://curl.haxx.se/ curl], [http://www.gnu.org/software/wget/ wget] or [http://lynx.isc.org/ lynx] for download. A proxy server can be specified by the environment variable {{{http_proxy}}} (lower case only), see the man pages of the above commands. |
| 442 | |
| 443 | This does not work on Windows. Download the file {{{drivedb.h}}} from [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=HEAD SVN trunk] instead and copy it into the directory where the exe files are installed. |
| 444 | |
| 445 | Smartmontools releases 5.39 and 5.39.1 also support drive database update if the build was configured with {{{--enable-drivedb}}}. |
| 446 | The {{{drivedb.h}}} file from the SVN trunk is not compatible with these releases. |
| 447 | A compatible version of drivedb.h is maintained on branch [source:/branches/RELEASE_5_39_DRIVEDB RELEASE_5_39_DRIVEDB]. |
| 448 | Download this version of {{{drivedb.h}}} from |
| 449 | [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/branches/RELEASE_5_39_DRIVEDB/smartmontools/drivedb.h?revision=HEAD here] |
| 450 | and copy it into the configured directory (typically {{{/usr/share/smartmontools}}} or {{{/usr/local/share/smartmontools}}}). |
| 451 | |
| 452 | ---- |
| 453 | |