Quote:
Originally Posted by DNSB
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.