[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] blalock:
I succesfully used this script here to swap internal and external sd cards. Now I want to mount the formerly internal sd card. This should be possible as it is now booting from the external card.

I tried the following but it is not working. Any ideas? umount /mnt/extSdCard/

echo "mass_storage,adb" > /sys/class/android_usb/android0/functions

echo "/dev/fuse" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file

echo 1 > /sys/devices/virtual/android_usb/android0/enable

here are my df results - you can see that the sd cards are switched:

root@android:/data/data/com.teslacoilsw.quicksshd/home # df

Filesystem Size Used Free Blksize

/dev 829M 84K 829M 4096

/mnt/asec 829M 0K 829M 4096

/mnt/obb 829M 0K 829M 4096

/system 1G 1017M 436M 4096

/data 12G 319M 11G 4096

/persist 7M 4M 3M 4096

/cache 826M 14M 812M 4096

/efs 13M 4M 8M 4096

/tombstones 7M 4M 3M 4096

/firmware 63M 42M 21M 16384

/mnt/sdcard 29G 16M 29G 16384

/mnt/extSdCard 12G 319M 11G 4096

/data/internal_sd 12G 319M 11G 4096

/mnt/sdcard 29G 16M 29G 16384

/mnt/extSdCard 12G 319M 11G 4096

Here is dump of my mounts file:

# cat /proc/mounts

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p14 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p15 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,jo urnal_async_commit,data=ordered,noauto_da_alloc,discard 0 0

/dev/block/mmcblk0p16 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier= 1,data=ordered 0 0

/dev/block/mmcblk0p17 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1, data=ordered 0 0

/dev/block/mmcblk0p11 /efs ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,da ta=ordered 0 0

/dev/block/mmcblk0p16 /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,barri er=1,data=ordered 0 0

/dev/block/mmcblk0p1 /firmware vfat ro,relatime,gid=1000,fmask=0006,dmask=0006,a llow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remoun t-ro 0 0

/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id =1023,default_permissions,allow_other 0 0

/dev/block/vold/179:97 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatim e,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=c p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /data/internal_sd fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,gr oup_id=1023,default_permissions,allow_other 0 0

/dev/block/vold/179:97 /mnt/sdcard vfat rw,dirsync,relatime,uid=1000,gid=1023,fm ask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortnam e=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /mnt/extSdCard fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group _id=1023,default_permissions,allow_other 0 0

root@android:/data/data/com.teslacoilsw.quicksshd/home #

Any suggestions?