Opened 10 years ago

Closed 10 years ago

#59 closed enhancement (fixed)

external drivedb

Reported by: taggart Owned by: Christian Franke
Priority: minor Milestone: Release 5.40
Component: all Version: 5.39.1
Keywords: Cc:

Description

Would it be possible to make the drivedb an external file with a standard format that is loaded at runtime? Then it could be published at some canonical url and you could download a new version to use with your existing version of smartmontools. Then you could provide a tool to update the local copy of the drivedb. There are a few other similar tools that do this:

lspci / update-pciids
lsusb / update-usbids

You could follow their examples for file locations and utility behavior, hopefully it wouldn't be too hard.

Thanks,

--
Matt Taggart
taggart@…

Change History (3)

comment:1 Changed 10 years ago by Christian Franke

Starting with release 5.39, reading the drive database from an external file is already supported. Simply build smartmontools with

./configure --enable-drivedb

Then the database can be updated from export:/trunk/smartmontools/drivedb.h or from a future 5.39 database branch.

See also source:/trunk/smartmontools/INSTALL@3061:684-685#L663 and '-B' option on smartctl man page.

It is planned to extend this for the USB-ID table, ticket #44.

comment:2 Changed 10 years ago by Christian Franke

Milestone: Release 5.40
Owner: changed from somebody to Christian Franke
Status: newaccepted

comment:3 Changed 10 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.