Author Topic: CyanogenMod mounts /external_sd to /mnt/emmc  (Read 3328 times)

Offline wvb

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
CyanogenMod mounts /external_sd to /mnt/emmc
« 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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline berkley

  • Premium
  • Master of Locus
  • ****
  • Posts: 900
    • View Profile
  • Device: 1+1, N7
Re: CyanogenMod mounts /external_sd to /mnt/emmc
« Reply #1 on: August 19, 2011, 08:37:23 »
Internal memory in sgs2 is big enough. ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
 

Offline wvb

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: CyanogenMod mounts /external_sd to /mnt/emmc
« Reply #2 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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline wvb

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: CyanogenMod mounts /external_sd to /mnt/emmc
« Reply #3 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 :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11354
  • Thanked: 293 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: CyanogenMod mounts /external_sd to /mnt/emmc
« Reply #4 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 ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline wvb

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: CyanogenMod mounts /external_sd to /mnt/emmc
« Reply #5 on: August 20, 2011, 10:40:59 »
thanks for the technical explanation, it makes it easier to understand now :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »