Sorry that it took so long to answer.
Quote:
Originally Posted by Royalblue
That Firmware executes this usb-script I noticed to. Thought: maybe one could place the mount-command here.
|
Yes, you could add command there. Actually kobo-grive-sync scripts add code to end of that file so in the end execution will jump to /usr/local/grive-sync/udev_usb_program.sh.
Quote:
Originally Posted by Royalblue
Did I get that right, that: If a sd-card is inserted the sync still works, but the content isn't shown because the Kobo will show the contents of the real instead of the virtual sd-card.
If so, is there any reason one shouldn't use the real sd-card and if there is None, how do I do that. (Coz than the sd-card would definitively be mounted on usb-connect)
|
Yes, if real SD card is inserted then files are synchronized to /mnt/onboard/.grive-sync/sd, but only real SD card content is visible in library.
If you could make files to synchronize to the real SD card then you would get what you wanted. /usr/local/grive-sync/config.sh contains variable "grive_sync_libfolder" that defines where files are synchronized. If the value is /mnt/sd then files are synchronized to real SD. The value was /mnt/sd earlier, but I changed it, because if scripts is executed when /mnt/sd is not mounted then some files get written to firmware partition of the internal SD.
Here is the change I made.
Quote:
Originally Posted by Royalblue
And another one: I read in this Forum that g-drive isn't compatible with calibre. (adding and changing file names while uploading) Does that mean if the filename of my uploaded files contain specific patterns g-drive will rename them? (And since that is still called a Feature not a bug by Google, it won't change.) => This lead me to the question if dropbox or any other cloud/server-sync tool wouldn't be better (/possible)?
|
Sorry, I don't know if google drive renames files. I know that dropbox is hard to get working in ARM processor. You can search open source synchronization software for linux and then compile it to kobo firmware. That's what I did to grive.