Quote:
Originally Posted by frostschutz
It's probably safe to do if the USB connection is not real but you tricked nickel into thinking there was one.
In a real USB connection, if you mount the filesytem, while the PC mounts it too, you'd end up with filesystem corruption.
So what I do instead (in my AutoShelf mod) is freeze nickel the moment the USB is unplugged, modify the database, unfreeze nickel. (by sending STOP / CONT kill signals)
This is dangerous too because there's a watchdog that likes to reboot the entire device when nickel stops responding, and the timing for the freeze also has to be just right (that part is left to luck)
|
The end goal is to launch kobo-rsync using kfmon. In that situation, it seems highly unlikely that a user would be in a position to have the filesystem mounted by the computer, as the user would not be able to launch the program from kfmon while connected to a PC.
Although, I'm not quite sure what happens if you plug it in while already "connected"... Maybe I should test that (if I'm brave enough!)
I assume users who have compiled it and are running via SSH/telnet are smart enough to avoid trying to mount the filesystem twice.
*****
Another bit of musing, could we use a bit of OCR to find the "connect" button location? Performance? Battery? I'll have a look into it.