On Tue, 2016-01-12 at 12:18 -0500, Adam Devita wrote:
> 
> A co-worker managed to get an copy of the db by as interpreted by
> jffs2dump of the file system, that was extracted by the jffs2dump
> python script (from git hub). It is interesting that it is also
> corrupt but in a different way.

Forgetting sqlite, can you compare the binary files?

JFFS2 creates each file from the log entries, each of which carry a
sequence number, and cover a given range of the file (not more than a
4KiB page).

There should never be any *holes* in the file, which are not covered by
any data node. Were there in your dump? That would imply that a data
node was lost (its CRC failed, perhaps, and wasn't caught in time to be
written out elsewhere).

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

Reply via email to