Matt Taggart wrote:
> I am using the debian package version 5.39.1+svn3124-1 of smartmontools and
> if I update drivedb.h (r3221) I get an error
> foo.error(118): Syntax error in preset option string
New raw print formats were added after r3124.
> line 118 is in the "SandForce Driven SSDs" section. If I remove that entire
> section things start working. I tested and the last version that works is
> r3134 before that section was added in r3135.
For a r3124 SVN snapshot the following should work:
Use drivedb.h from trunk but replace the incompatible entry by the entry
from the RELEASE_5_39_DRIVEDB branch.
> Do newer versions of drivedb have something that trips up older versions of
> smartctl? Is this expected to work?
For SVN snapshot builds like the debian package it may work or not.
It is expected to work for official releases:
5.39[.X] -> Use drivedb.h from RELEASE_5_39_DRIVEDB branch
5.40[.X] -> Use drivedb.h from RELEASE_5_40_DRIVEDB branch if present
else use trunk.
The best would be to update the debian package to 5.40 and run
update-smart-drivedb then :-)