How can I create a symlink or bind for USB in the sdcard directory?

Search This thread

sdinthemix

Member
Jul 15, 2010
10
1
San Diego
I have a rooted a500 and was able to bind the external SD card to a folder in the sdcard directory using "mount -o /mnt/external_sd /mnt/sdcard/external-sd". I was able to do the same with a fat32 USB thumb drive but it breaks as soon as I unplug the USB.

Is there any way to create a link or bind the USB on a more permanent basis? Essentially, I want to be able to quickly get to files on the drive in estrongs file manager without having to change to default directory from sdcard.

Thanks in advance for any assistance.

Sent from my A500 using Tapatalk
 

sdinthemix

Member
Jul 15, 2010
10
1
San Diego
Of course, as soon as I posted this, inspiration struck and I simply changed the mount point.

If anyone else wants to do this, you need to edit /etc/vold.fstab to point the the new mount locations. I just changed the mount point to the new folders I created in sdcard and rebooted. Also did this for the external SD card so that I don't have to rebind it each time I reboot.

Sent from my A500 using Tapatalk
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone