![]() |
Mount SD script at startup
Hello!
I was hoping for a little help. I have a command to mount the SDCard to the android partition, which I currently have to run every time I boot up so that android apps can read the SDcard: devel-su mount -o bind /media/sdcard/16FA-111F /home/nemo/android_storage/SDCARD Just wondering how I can automate this process on startup of the phone? |
Re: Mount SD script at startup
Would a symlink not achieve the same thing?
|
Re: Mount SD script at startup
Quote:
|
Re: Mount SD script at startup
Quote:
But first remove the empty mount-point SDCARD. |
Re: Mount SD script at startup
hmmm tried that and I get a "function not implemented" error?
|
Re: Mount SD script at startup
Quote:
It does not even need to be root to create a softlink inside your own home directory tree... How did you do it exactly? |
Re: Mount SD script at startup
I tried both root and none root methods typing directly in to the shell window
|
Re: Mount SD script at startup
|
Re: Mount SD script at startup
@wormdrummer, @juiceme - symlink to android directory stopped to work since jolla changed android directory to /home/nemo/android_storage :( I wrote it on TJC (https://together.jolla.com/question/...torage-folder/).
@wormdrummer, for your question it possible to create .service file that will run your command automaticaly after reboot. P.S. Can you share you script please ? Because I can't create symlink I also want this possibility to see jolla folders from android app... |
Re: Mount SD script at startup
Hang on, are you saying that symlinks created by Sailfish are not honoured by Alien Dalvik? That would be most unusual. (Luckily I do not use Android so I cannot check.)
|
Re: Mount SD script at startup
You just can't create it in /home/nemo/android_storage...
Symlink was a simple way to see all jolla files (home and sdcard) in android app, but now it's impossible... |
Re: Mount SD script at startup
Quote:
Like, a virtual mount or something, seen only in the context of the android subsystem? |
Re: Mount SD script at startup
Quote:
|
Re: Mount SD script at startup
Android apps run as separated users for each one, so that android storage mounts without support of file permissions through FUSE filesystem. It seems that is doesn't support symlinks too.
|
All times are GMT. The time now is 08:07. |
vBulletin® Version 3.8.8