View Single Post
Old 07-20-2014, 10:50 AM   #1327
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by pazos View Post
It does make sense that nickel remount /mnt/sd rw when add/modify/delete books, but at the end nickel remount it ro again, as we can see in koreader.

I have a mini so I can't test it, but I think there is no problem to add a remoun flag before start koreader (and back to default at exit) as long as you don't extract sd card while koreader is running. Another option is to prompt the user for confirmation, like: SD Card Mounted in Read-Only mode, Do you want to remount it in read and write mode? when moving files (and return back to ro after that)
Somehow I get the feeling that this making the external uSD Read Only is something required by or included to protect Kobo's Database. If so, then it has some importance to those who allow nickel to process files maintained on the external uSD and want to go back and forth to Nickel. It may be that if you keep your library separate and hidden from Nickel, on the external uSD or if you keep two separate libraries with the one on the external uSD hidden - Then there should be no problem having the external uSD Read/Write.

Edit: I'll try remounting it RW in the onstart/koreader_kobo.sh, later today.
OK tried "mount -o remount,rw /" a number of different ways but no result, still not able to delete a file on the external uSD, using File Manager. "fstab" is showing me nothing.
I even tried copying the rcS mount line for the internal uSD to make one right after it for the external uSD, nothing for that either.

Luck;
Ken

Last edited by Ken Maltby; 07-20-2014 at 06:27 PM.
Ken Maltby is offline   Reply With Quote