This gonna sound kind of odd, but with copying stuff over from my S3 and using the crappy mtp to get stuff on the device I'm no longer sure.
Which patch is the 'true' internal sdcard?
Is is the SD card in the root folder or the mnt/sdcard?
The real mount point is /mnt/sdcard and there is a symbolic link at /sdcard. It's basically two ways of getting to the same thing, but when your internal sdcard is mounted it uses the /mnt/sdcard path.
Its TwiX said:
The real mount point is /mnt/sdcard and there is a symbolic link at /sdcard. It's basically two ways of getting to the same thing, but when your internal sdcard is mounted it uses the /mnt/sdcard path.
Click to expand...
Click to collapse
that explains my confusion.
thanks
Related
What are the mount locations for both the internal and external storage locations.
For example, the internal may be mounted to /sdcard/
I'm not sure what the external would be mounted to on this device.
Thanks
greatking8 said:
What are the mount locations for both the internal and external storage locations.
For example, the internal may be mounted to /sdcard/
I'm not sure what the external would be mounted to on this device.
Thanks
Click to expand...
Click to collapse
internal is /sdcard
external is /sdcard-ext
What does /mnt stand for?
When I look at the "Files" folder on my archos, all the subfolders are from the path, lets say, /mnt/Andriod..etc Does this mean this is the path for the Internal Storage? If so, what is the path for system storage, since I am running low on space and would like to delete some useless downloads that probably did not fully erase themselves. Thank you!
/mnt stands for 'mount point'. In the Unix tradition (and LSB standards) it's a directory where removable file systems are mounted to the tree. Archos is not entirely correct in using /mnt for everything else but /mnt/data, as all others are not removable file systems.
Thank you for your reply! Does that mean that the files under the /mnt path is part of the internal storage and works a bit like My Documents for computers? And all the rest are files stored in the system storage and is the one that occupies space where the apps are installed?
AranHei said:
Thank you for your reply! Does that mean that the files under the /mnt path is part of the internal storage and works a bit like My Documents for computers? And all the rest are files stored in the system storage and is the one that occupies space where the apps are installed?
Click to expand...
Click to collapse
This is not completely true. It's very simplified point of view.
mnt stands for mount
I guess mnt stands for MouNT external directory such as sd or pc memory
I am sharing this in this forum. Hope this is the right place.
I have been trying to re-partition my external SD card using one vfat partition and a bigger ext4 partition. Then my intention was to mount ext4 through an init.d script.
Partitioning (with gparted under Linux) was of course not a problem.
However, the system does not recognize the multi partition external SD card.
I am using Leedroid's HC (but I don't think that matter so much).
After system has fully started it says "SD card is damaged", do you want to format it.
So yes ... I formatted it. Then mounted it again under Ubuntu.
Back into gparted ... and ... now there is no partition table any more !
The android formatting has just written a vfat file system over the whole device without using a partition table.
So ... no luck.
Then I looked at the volume manager. In the file /etc/vold.fstab we can see:
dev_mount sdcard /mnt/sdcard 33 /devices/platform/msm_sdcc.2/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
dev_mount usb /mnt/sdcard/usb auto /devices/platform/msm_hsusb_host.0
So, I re-formatted the SD card with a vfat and ext4 partition and changed the vold.fstab to:
dev_mount sdcard /mnt/sdcard 33 /devices/platform/msm_sdcc.2/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd 1 /devices/platform/msm_sdcc.4/mmc_host/mmc2
dev_mount usb /mnt/sdcard/usb auto /devices/platform/msm_hsusb_host.0
(so I changed "auto" into "1" in the second line)
Well after booting ... no good! System still thinks SD card is damaged and proposed to re-format it.
I am guessing there must be a way tricking the vold daemon into using the first partition (vfat) as file system instead of the whole device block ... but I have not found it yet.
Maybe I am missing something very simple here so any help would be appreciated.
Normally questions go in the Q&A section.
Never really checked into this but I don't think the Android framework has capability to handle more than one partition per device even if you supply the mount points.
On the color nook it works as you described because the primary boot device was the SD card. You might try searching through the Nook forum
DigitalMD said:
Normally questions go in the Q&A section.
Never really checked into this but I don't think the Android framework has capability to handle more than one partition per device even if you supply the mount points.
On the color nook it works as you described because the primary boot device was the SD card. You might try searching through the Nook forum
Click to expand...
Click to collapse
Well, I have multiple partitions on external SD card on my HTC Desire phone. They appear under /dev/block/mmcblkXp1 and /dev/block/mmcblkXp2. However, on the flyer I only see /dev/block/mmcblkYp1 (which is the first partition of the internal memory mounted on /sdcard). There is a different mechanism for the mount of /sdcard2 (external SD card). No entries in /dev/block are created for it.
I will have a look at Nook forum tonight. Thanks for response.
foobar66 said:
Well, I have multiple partitions on external SD card on my HTC Desire phone. They appear under /dev/block/mmcblkXp1 and /dev/block/mmcblkXp2. However, on the flyer I only see /dev/block/mmcblkYp1 (which is the first partition of the internal memory mounted on /sdcard). There is a different mechanism for the mount of /sdcard2 (external SD card). No entries in /dev/block are created for it.
I will have a look at Nook forum tonight. Thanks for response.
Click to expand...
Click to collapse
Android system needs first partition of sdcard to be vfat
Sent from my LT15i using XDA App
DooMLoRD said:
Android system needs first partition of sdcard to be vfat
Sent from my LT15i using XDA App
Click to expand...
Click to collapse
Well, OK ... but it does not work if there is a partition table !
So 2 partitions (1 VFAT and 1 ext4 does not work).
It only works when the whole block device just contains a VFAT file system (without partition table).
OK, I figured it out (kinda).
Apparently, when I create 2 partitions (1 VFAT and 1 ext4) via gparted under Ubuntu then the Flyer won't properly recognize the partition table (that is my guess). Don't know why ...
I created 2 partitions via CWM ... and now it is working fine.
So I have:
/dev/block/mmcblk1p1 -> VFAT
/dev/block/mmcblk1p2 -> EXT4
hi, just found this is SOLVE (congrats) and wondered whether this allows SD > supported 256GB on (G900f) S5.
Can you create many partitions on the SD (maybe up to 256) on a 1 TB microSD?
thanks
Has anyone noticed that the internal storage Filesystem mounts as SD card? I understand why it would do this for the 250GB model, however it doesn't make sense for the 8/16Gb models which do have an SD card slot. This has been bugging me when backing up data.
has anyone made a fix for this? I can't imagine it's that hard, I'm just new to the guts of android, and figured a more experienced member could solve this issue by the time I begin to scratch the surface.
This is how system is designed, there is no way to make Gen9 work as usb mass storage device
Tapatalked from Xperia Arc S
gen_scheisskopf said:
This is how system is designed, there is no way to make Gen9 work as usb mass storage device
Tapatalked from Xperia Arc S
Click to expand...
Click to collapse
This, galaxy nexus is the same :/
Sent from my ice cream powered Nexus S
Hello, sorry for the late reply. I've done more research to better explain my issue.
in root the folder /sdcard is a symlink to /mnt/storage instead of /mnt/sdcard
any ideas where to change this?
Electrocret said:
Hello, sorry for the late reply. I've done more research to better explain my issue.
in root the folder /sdcard is a symlink to /mnt/storage instead of /mnt/sdcard
any ideas where to change this?
Click to expand...
Click to collapse
You'd better don't. System and apps (both system and 3rd party) expect to have an accessible SD card all the time.
If you'd change /mnt/storage to /mnt/sdcard (or wherever is SD mounted)
a) some apps will not work properly without external SD
b) you loose easy access to /mnt/storage where all your pics/music/video/files are stored
c) it's very likely that SD would be mounted to PC still as MTP- this is how system is designed (external SD also mounts for me as MTP)
Hi everyone.
After some snafu while trying to update Gapps to the latest package, which wrecked my phone ;
I re-flashed the ROM (CM11.0 from Maclaw's), doing full wipe of dalvik/cache/data/system. I reinstalled the previously working Gapps package.
Everything is working fine, but the way the storages are mounted is not correct. For instance, Gallery won't display pictures from the external sdcard.
Yet, if I use file manager, I can access it, and all my personal files are still there. When connecting to the PC, internal storage takes me to the actual internal storage being used by the phone but external storage appears empty.
/sdcard points to /storage/emulated/legacy it contains my old files from before flashing anew.
tree of /storage :
/storage
---/emulated
------/0 <-- this seems to be the same folder as legacy
------/clockworkmod <-- never mind, it's just there, empty. A remnant of my previous recovery
------/legacy
------/obb <-- empty
---/sdcard0 <-- redirects to /storage/emulated/legacy
---/sdcard1 <-- external sdcard
I hope I'm being clear enough. Basically, external sdcard doesn't seem to get mounted at a correct place which would allow apps to read from it.
While in recovery, if I go to the file manager,
external sd card is mounted in /external_sd
/sdcard is the internal storage
/data/media is the same as /storage/emulated as before. ./0 is populated, ./legacy is not.
So, basically, I should find a way to mount the external card to /data/media right?
Edit : I kept trying stuff. I created a folder from my PC on the apparently empty sd card, and put a photo in it. It displays in the gallery, and the folder is at the root of the sd card, just like every other folder that are not detected by either my phone and PC. The hell is that about?