Locus Map - forum

Support => Troubles & Questions => Topic started by: wvb on August 18, 2011, 18:43:09

Title: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: wvb on August 18, 2011, 18:43:09
I just installed nightly 25 of CM7 for SGSII and Locus can't find my vector maps anymore.
The issue seems to be that by default SGSII mounts external_sd to /external_sd but CyanogenMod mounts it to /mnt/emmc and Locus doesn't seem to look there (which I understand :) )
Do you have any tips for me on how to get it working again?

Sent from my GT-I9100 using Tapatalk
Title: Re: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: berkley on August 19, 2011, 08:37:23
Internal memory in sgs2 is big enough. ;)
Title: Re: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: wvb on August 19, 2011, 16:55:38
Yeah, but I can't seem to find the folder to put my vector maps on my internal :(

Sent from my GT-I9100 using Tapatalk
Title: Re: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: wvb on August 20, 2011, 09:10:14
ok, it seems that Locus checks if a directory /sdcard/external_sd is present and if it is it will put a directory named Locus in there
it will no longer check other places like /sdcard/Locus or /mnt/emmc/Locus
since I changed from a Samsung based rom which uses /sdcard/external_sd to mount the external sd card, the directory existed although it was empty since CM mounts external sd in /mnt/emmc
so after deleting the directory /sdcard/external_sd Locus started using the /sdcard/Locus dir to find the maps and stuff so I'm all set now :)
Title: Re: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: Menion on August 20, 2011, 09:28:23
it do not work in this way. I do not have some predefined paths from root!

In android exist function 'Environment.getExternalStorageDirectory()' which return path to external storage. Usually it's SD card or internal storage (and sd card is then in some subdirectory). Some new phones anyway have some weird paths so I have to add some predefined paths directly from root. It's your case. Internal storage is mounted to /sdcard/external_sd but SD card is on different path ...
Title: Re: CyanogenMod mounts /external_sd to /mnt/emmc
Post by: wvb on August 20, 2011, 10:40:59
thanks for the technical explanation, it makes it easier to understand now :)