View Single Post
Old 10-06-2010, 02:40 AM   #5
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
That would also have been my advise. The DR maintains a sqlite3 database (global.db) that contains all folders and (viewable) files from the SD-card. When the DR boots, the complete SD-card is scanned to see if there are any changes w.r.t. the database (while "Indexing ..." is shown on the screen).
After that the UI only uses the database to show the content of the SD-card.
So if the global.db-file is corrupt, no file can be shown. Unfortunately, the DR does not issue a warning when a corrupt database is found.
A little bit on the side: each folder also contains another database (metadata.db) that contains document specific information that is not needed for the UI, like last-read-page, annotations and bookmarks. These can also get corrupt, resulting in page/annotations/bookmarks not being stored.

Do more people see the corruption of global.db or metadata.db? I wonder if the corruption is related to a manual reset or forced shutdown due to low-battery or if it happens during 'normal' usage.
Mackx is offline   Reply With Quote