|
2014-01-18
, 11:05
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#2
|
So.....
the solution is really simple:
i created a folder /mnt/sdcard2/ (chmod 777)
then just mounted the sdcard the "traditional way" to that folder:
then mounted the "real" sdcard on the android folderCode:mount /dev/mmcblk1p1 /mnt/sdcard2/
... and that's it!Code:mount -o bind /mnt/sdcard2 /data/sdcard/
i added those two lines at the end of /usr/sbin/mount-sd.sh and it works without any problems (till now )
...
|
2014-01-18
, 12:29
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#3
|
The Following User Says Thank You to Leinad For This Useful Post: | ||
|
2014-01-18
, 20:13
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#4
|
The Following User Says Thank You to meemorph For This Useful Post: | ||
|
2014-01-18
, 20:45
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#5
|
|
2014-01-18
, 21:13
|
Posts: 33 |
Thanked: 25 times |
Joined on Sep 2011
@ grenoble
|
#6
|
|
2014-01-19
, 12:04
|
Posts: 284 |
Thanked: 661 times |
Joined on Aug 2013
@ Finland
|
#7
|
|
2014-01-19
, 12:21
|
Posts: 37 |
Thanked: 26 times |
Joined on Aug 2013
@ Finland
|
#8
|
The Following User Says Thank You to rannari For This Useful Post: | ||
|
2014-01-19
, 13:38
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#9
|
Leinad, can you update the first post for noobs please.
* full scrip,where to place (permissions etc)
* create/not create folders manually, transfer/not transfer files, before/after script etc..
* how to run it (full command)
Thanks
The Following User Says Thank You to Leinad For This Useful Post: | ||
|
2014-01-19
, 15:14
|
Posts: 284 |
Thanked: 661 times |
Joined on Aug 2013
@ Finland
|
#10
|
Updated for Salfish >= 1.0.4
If you had it running before and problems after the last Update (1.0.4), you only need to do step 6!
First of all: this config is meant to be used with UNIX filesystems like ext4. There are also some suggestions for btrfs in this thread. I guess, it needs to be handled differently.
Second: i'm not sure, how it affects speed with slow sdcards, but i'd recommend using a real fast (and big) sdcard
Everything you do, you do at your own risk! I tried to write everything correct, but mistakes happen...
So, here we go:
x.a is always for using as home partition
x.b is always for android data
1. create new folder for custom mountpoint
3.a in the mounted sdcard create a hidden folder for home
3.b in the mounted sdcard create a hidden folder for android
4. sync new folders with your existing data
4.a sync home folder
i would not recommend to delete folders in home-folder, just the big files
of course you can also do this later, after some days of testing.
6. create out own bootscript
6.1. create a file mount-sd.custom.sh with this content:
Q&A
Why do you put android data in a hidden folder?
Otherwise, my Gallery was full of map tiles. But if you like this, just remove the dot
Why do you put home data in a hidden folder?
Otherwise, my Gallery showed every image twice. But if you like this, just remove the dot
Last edited by Leinad; 2014-04-04 at 15:49.