View Single Post
Old 03-25-2024, 06:54 AM   #1229
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
The idea is to make sure the database has no connections and is properly closed during the USB connect process. Removing the last connection to the database files triggers the cleanup procedure but that is not something that would be done during normal operations when the database would be in use. If the database is in use, you could still see those files before attempting a USB connect so your suggested test would be basically meaningless. The only way to be certain the database was properly closed would be if you did not see the .sqlite-wal and .sqlite-shm files after the connect.
If you connect your Kobo to the computer without calibre running, would the database become corrupt? If not, you could check for those files and if they don't exist, eject, run calibre and use NickelMenu to reconnect.
JSWolf is offline   Reply With Quote