Quote:
Originally Posted by sherman
Then I had the idea of "will Nickel freak out if I remount the filesystem while in USB connect mode?". Turns out, Nickel doesn't seem to mind.
|
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)