Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

mount sdcard to /sdcard

OP sams-roots

7th April 2014, 12:35 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Apr 2014
is there anyway to mount the real sdcard to /sdcard?

i tried to edit the vold.fstab, but it just bootloop on the animation.


http://forum.xda-developers.com/show...1&postcount=14

he is mounting to "/mnt/sdcard" while i used "/sdcard"

Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?
7th April 2014, 01:08 AM   |  #2  
k1mu's Avatar
Recognized Contributor
Flag Virginia
Thanks Meter: 1,575
 
1,925 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by sams-roots

is there anyway to mount the real sdcard to /sdcard?

i tried to edit the vold.fstab, but it just bootloop on the animation.


http://forum.xda-developers.com/show...1&postcount=14

he is mounting to "/mnt/sdcard" while i used "/sdcard"

Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?

/sdcard is normally a symbolic link pointing to /storage/emulated/legacy

There's an internal "sdcard" that normally gets mounted onto /mnt/shell/legacy from /init.qcom.rc - that's symlinked to /storage/emulated/legacy in that same file. It also appears to start up a daemon that re-mounts the internal "sdcard".

What are you trying to do? Normally the external SDcard is mounted to /mnt/extSdCard, so you should just store data there rather than /sdcard.

(Or /mnt/sdcard, /mnt/shell/legacy, /storage/emulated/legacy, or any of the other things simlinked to the internal sdcard.)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes