Quote:
Originally Posted by JSWolf
Would you get a corrupt database if you plugged into the USB port without calibre running to have a look?
|
If the database has NOT been closed correctly on the Kobo then any USB connection will cause corruption.
If you look at the udev script on the Kobo that is launced when a USB connection is made, it does an unmount of both the file system that contains the Kobo database and the (no longer supported on new hardware) external SD card.
Simply put the ONLY option might be a modification to the udev script to perform some checking on the size of the wal and shm files, and if non-zero prevent the dismount.