It would be useful if tdbtool provided a simple subcommand for checking the integrity of a tdb file.
Created attachment 3702 [details]
patch to add a "check" command to tdbtool
This runs traverse on the currently open tdb file and prints the number of entries if the integrity check is succesful.
Created attachment 3703 [details]
reviewed. Now really print out the number of entries in the tdb.
Created attachment 3704 [details]
reviewed another time :)
This time really check the database given in the arguments for the function.
Created attachment 3755 [details]
patch to add the "check" command to the tdbtool manpage
This adds documentation for the check command to the tdbtool manpage
Both patches are now upstream (master and v3-3-test).
Will be in 3.3.0.
Closing out bug report.
Thanks for the patches! :-)