[Q] mnt/sdcard versus /sdcard - Nook Color General

Is there a difference between the /mnt/sdcard and /sdcard locations on my Nook Color? I am thinking the mnt refers to the internal card, and the sdcard refers to the "external" card that we can easily insert. Any comments are welcomed to help me understand the difference, as I am prompted to save downloads to "/mnt/sdcard/". Thank you in advance.

gsutton said:
Is there a difference between the /mnt/sdcard and /sdcard locations on my Nook Color? I am thinking the mnt refers to the internal card, and the sdcard refers to the "external" card that we can easily insert. Any comments are welcomed to help me understand the difference, as I am prompted to save downloads to "/mnt/sdcard/". Thank you in advance.
Click to expand...
Click to collapse
No difference. For reasons unknown to me, your sd card is mounted in two different places ("/sdcard" and "/mnt/sdcard"). Also, your internal memory is mounted in two different places ("/emmc" and "/mnt/emmc"). If you use a file manager app (I recommend File Explorer) and look at the contents of either of the duplicated mounts, you will find exactly the same content. Ditto for the usb storage (one under root, and one under /mnt).
Someone better-versed in the guts of Android will need to explain why there are two mount points for every storage location.
edit: i am also assuming you're on CM7. If you're on stock B&N software or rooted, the duplicate mounting points may be handled differently...

Thank you for the rapid reply. I am running rooted stock 1.2, but your comments extend to my device as well. Thank you again.

Related

5GB internal storage unaccessible to apps?

I'm a new nook user and successfully put nookie froyo on over the weekend. I would like to use my 5gb of internal memory for the reader apps (nook, aldiko etc) but they all only seem to look for an sdcard. I can see that media directory is there and I can see the files via ES File Explorer but can't figure out how to make the nook (or other reader apps) see this storage.
On my Samsung captivate the internal storage shows up as an sdcard and my external card is mnt under that so I was expecting a similar layout with the nook internal memory.
I'm not sure if this is just the way it is or have I done something wrong?
also when I go into SD card and Phone Storage settings it shows:
Total Space: unavailable
Available Space: unavailable
Mount and Format SD card options are greyed out
Internal Phone Storage Available Space: 513MB
WinoOutWest said:
I'm a new nook user and successfully put nookie froyo on over the weekend. I would like to use my 5gb of internal memory for the reader apps (nook, aldiko etc) but they all only seem to look for an sdcard. I can see that media directory is there and I can see the files via ES File Explorer but can't figure out how to make the nook (or other reader apps) see this storage.
On my Samsung captivate the internal storage shows up as an sdcard and my external card is mnt under that so I was expecting a similar layout with the nook internal memory.
I'm not sure if this is just the way it is or have I done something wrong?
also when I go into SD card and Phone Storage settings it shows:
Total Space: unavailable
Available Space: unavailable
Mount and Format SD card options are greyed out
Internal Phone Storage Available Space: 513MB
Click to expand...
Click to collapse
The apps would have to know to look for it at /media, and if they do, they should readily be able to access it on that path.
I just tested this myself, I copied my /sdcard/Books to /media, renamed /sdcard/Books to /sdcard/Books-bak (just to make sure I wasn't accidentally still referencing the old location) and in FBReader I changed my Library path to /Media/Books and it works fine.
So you have access to R/W the path, just the apps don't necessarily know to look there. FBReader you can change the path, but not sure about others.
thanks for mentioning FBReader. Aldiko, like many apps seems to insist on SDCard as the root and doesn't find anything. I d/l FBReader and set it to use the internal memory so thanks for that.
Many other apps are the same in wanting an SDCard for storage. It would be nice to have an app or setting that would allow us to map that directory to "SDCard"
WinoOutWest said:
thanks for mentioning FBReader. Aldiko, like many apps seems to insist on SDCard as the root and doesn't find anything. I d/l FBReader and set it to use the internal memory so thanks for that.
Many other apps are the same in wanting an SDCard for storage. It would be nice to have an app or setting that would allow us to map that directory to "SDCard"
Click to expand...
Click to collapse
Have not tried it, but creating a symlink would accomplish that.
i had the same problem with the initial flash of honeycomb but then i reflashed with "second edition" and it seems to be working fine now
cnewsgrp said:
Have not tried it, but creating a symlink would accomplish that.
Click to expand...
Click to collapse
Except fat doesn't have symlinks Yes, it would be nice to ln -s /media /sdcard/media or something but it won't work.
Is that /media partition only good for storage? I noticed the few apps I installed so far put files on the SD card, and when the SD is removed, the apps don't work anymore. I tried copying everything on the SD to the /media and left the SD out but the apps still didn't run. Do I have to put all the .apk files under /media and install them from there? I'm trying to use SD only for media storage and no app bits if possible.
drazil22 said:
Is that /media partition only good for storage? I noticed the few apps I installed so far put files on the SD card, and when the SD is removed, the apps don't work anymore. I tried copying everything on the SD to the /media and left the SD out but the apps still didn't run. Do I have to put all the .apk files under /media and install them from there? I'm trying to use SD only for media storage and no app bits if possible.
Click to expand...
Click to collapse
If an app requires an SD card, it requires an SD card. Period. It's not going to fall over to using /media magically.
You can use apps without the SD card of course, but again, if they need SD they are not going to work. Apps are installed in /data/app and typically app data in /data/data but a lot of apps, especially games, require SD storage.
How would I use adb to push a file to /media? I'm trying to store some movies in here and it gives me an error that media is read-only.
jv
I've got a question. Since I got a 16 GB mSD card, is there a way to resize /media (if there is a reason to) so that I have more room for applications?
johnnyv5 said:
How would I use adb to push a file to /media? I'm trying to store some movies in here and it gives me an error that media is read-only.
Click to expand...
Click to collapse
While I have not tried it, I would imagine that you could use Root Explorer to change the folder from R/O to R/W
You could alternately do an adb command "adb shell" and then use Unix commands to do that.

[Q] Problem with External SD and CWM

I've had the Captivate for a couple of months now and am on xda reading everyday (my wife says I'm obsessed) -- I have yet to find the cause/solution for my problem. I've searched and found similar topics, but I'm not sure if they really apply to my issue.
This problem has followed me to a couple of different ROMs. I started with stock Eclair, Serendipity 5.xx, Cognition 4.1, stock Froyo, and then back to Cognition 4.1.1. I don't recall exactly when the issue started, but I think it was around Cog4.1/stock Froyo.
In Android, I can see it just fine as /sdcard/external_SD (normally use Linda manager). I can copy/move files to/from without any issues. If I plug the phone into the computer, I can access both internal and external SD cards with no problems.
Anyway, CWM 2.5.1.3 -Voodoo Lagfix will not see/mount my external SD card. Attempting to mount /sd-ext produces the error:
E:Can't mount /dev/block/mmcblk1p2 (*NOTE: I've seen posts with this message, but under slightly different circumstances)
(File Exists)
Error mounting SDEXT:!
If, however, I go to "choose zip from sdcard" and then navigate to "external_SD" it will "go" -- however this is **NOT** my external SD card, it appears to be a separate partition. My actual external SD has lots of folders and files, but the CWM "external_SD" has two files that I copied to it attempting to troubleshoot the issue.
A few minutes ago, within Android, I found that if I unmount my external SD, when I navigate to "external_SD", I don't see the files on my true external SD (as expected), but instead I see the partition with my two test files.
I apologize for this lengthy post, but I am at a loss and don't know what else to try. If this has been covered somewhere else, again, I apologize and would greatly appreciate pointing my in the right direction.
Thanks much!
jsbac
how big is this partition?
**i think** somewhere along the road you clicked "partition sd card" in clockwork recovery.
use windows: Start> Administrative tools > "computer management" > "disk management" tree > edit/delete/expand/shrink partitions manually.
Checked partitions in Windows. The mystery "external_SD" wasn't a partition. it was a plain folder named external_SD (don't remember creating that folder, but probably did). I deleted the folder. I still get the same message in CWM.
When connected to the computer, the internal storage shows as FAT32, capacity 13.03GB (single partition); the external storage shows as FAT32, capacity 7.6GB (which is correct - also single partition).
Just for the record, this issue doesn't appear to be creating any stability or performance problems. I want to figure this out just because...
I appreciate the help thus far.
jsbac
Anyone have any other ideas of how to get my external SD card to mount in CWM?
jsbac said:
Error mounting SDEXT:!
Click to expand...
Click to collapse
i have this trouble too on speedmod_k13c kernel.
i want to place and store all my roms and patches on external sd, but now I'm afraid to do it
maybe it's need to create folder with special name on internal SD (ext-sd for example), which will be point of mount.
unfortunately, CWM don't echo detailed information about error even
jsbac said:
Anyone have any other ideas of how to get my external SD card to mount in CWM?
Click to expand...
Click to collapse
Flashing different ROMs can lead to this. It's always a good idea to remove your external SD when flashing.
Try dumping the contents of the card to your PC with a card adapter, then reformat using this:
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Use the FULL (ERASE ON) setting and leave FORMAT SIZE ADJUSTMENT off.
When you put the files back on, only put the data, don't put any system settings etc back on.
Ok -- I will try this when I get home tonight.
Thanks,
jsbac
clemmie said:
Flashing different ROMs can lead to this. It's always a good idea to remove your external SD when flashing.
Try dumping the contents of the card to your PC with a card adapter, then reformat using this:
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Use the FULL (ERASE ON) setting and leave FORMAT SIZE ADJUSTMENT off.
When you put the files back on, only put the data, don't put any system settings etc back on.
Click to expand...
Click to collapse

[Q] Nook Color Cyanogenmod 7.1 but without sdcard

I've got a rooted Nook Color with CM 7.1
I don't wanna use a SD card (8GB is enough) but many many apps (as Dropbox) need it; how can I create a /sdcard folder (there is, but is a mount point) as a link folder?
Any solution?
ivanpiffer said:
I've got a rooted Nook Color with CM 7.1
I don't wanna use a SD card (8GB is enough) but many many apps (as Dropbox) need it; how can I create a /sdcard folder (there is, but is a mount point) as a link folder?
Any solution?
Click to expand...
Click to collapse
There is a setting that makes the internal emmc media partition look like an sdcard for the applications. I can't remember where exactly it is, but it says something like 'use internal storage'. Maybe under applications? That setting is so that people can do exactly what you are trying to do.
Instructions to do this are in the thread in my sig.

[Q] SDCard / External SDCard

Really funny that the internal storage of the Note is called SDCard.
It´s definitly not an SDCard, it´s a chip. The only SDCard in a phone is always an external. Is there any possibility to change this stupid name (whatever you want:
harddisc, storage or just a letter like C:, everybody would understand)?
Thanks in advance
Are you on CM9-based ROM or Stock? Is this issue on both.
sam.wilder said:
Are you on CM9-based ROM or Stock? Is this issue on both.
Click to expand...
Click to collapse
You might be able to change the name by editing the file ect/vold.fstab in the system folder. You should read the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
This is the standard for all Android devices the first storage that is mountable is always mounted to sdcard so that apps that require space to save files to can be sure there is somewhere to save it to.
Trust me its a very good reason to have it this way. Its been like this from the start as devices did used to only have external sdcards so to save every app dev changing there app it was just kept as the sdcard mount point
Sent from my GT-N7000 using xda premium
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
The followings give the internal memory to be the sd card and the external sd card to be mnt/emmc
# internal sdcard
dev_mount sdcard /mnt/sdcard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
The followings give the external sd card to be the sd card and the internal memory to be mnt/emmc
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Remember this is only for ro ms like liquid, paranoid, or cm9. For other ICS or GB rom the mount points will be different.
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
You should read the following thread:
http://forum.xda-developers.com/show....php?t=1454753
This thread also provide the appropriate vold.fstab file for ICS rom if you want to mount the external sd card as the internal sd card. I use the file for both Rocket Rom and Kingdroid rom without problem.
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Sd card is also a chip. It's just that the other is internal and the other is external.
Zapped through server hops to XDA forums
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Poly0709 said:
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
Click to expand...
Click to collapse
HAHA. I've noticed this since the day I bought my Note. Haven't done anything about it ever since. Share your solution when you find one, okay? Thanks!
Poly0709 said:
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Click to expand...
Click to collapse
Would like to point out that the milestone doesn't haven't any internal useable storage it only has the sdcard other than what's used by the system which is completely different . This is my point the first mountable storage is called sdcard to save apps the trouble of asking the user.
And as android is based from Linux it would not use the drive lettering like windows.
Sent from my GT-N7000 using xda premium
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
bitFault said:
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Click to expand...
Click to collapse
This is only for rom like liquid, cm9, or paranoid. For regular ICS rom you need to download the vold.fstab from
http://forum.xda-developers.com/show....php?t=1454753
Poly0709 said:
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
Click to expand...
Click to collapse
Its likely possible to do but I have said it will cause issues with apps if there is no sdcard mount point and as you don't need to have a external sdcard then the internel memory must be mounted to /sdcard
Is it really that big a issue? Yes really android should have changed this by now but its already far to much a issue with the fact the external SD gets mounted where ever the phone company wants it to be.
Sent from my GT-N7000 using xda premium

[Q] Xperia T file system question

Hi all,
Just got me an Xperia T, very happy with it.
Only thing I am having trouble understanding is how the file system works, please let me try and explain.
I have a 16gb micro SD card in the device and it also has 16gb of internal storage.
When I mount the device to windows it shows two drives (Internal Storage and SD Card), now these are pretty obvious as to which each one is.
Now my quandary: When I use astro file manager to browse the phone the file system is different (in fact pretty much the opposite).
The micro SD card shows up as "ext_card" and the internal storage (I think) shows up as "sdcard" and then there is another folder called "int_storage" that is empty.
Is this correct?
Could someone please clarify this for me?
Thanks,
Dave
Yes, this is the way it's supposed to be.
When you connect to the PC using MTP, you mount SDcard and ext_card from mnt.
Sent from my elegant Xperia™ Ion using xda premium app.
Cheers for the super fast response!
I thought that was how it was working but it was just a little confusing since it swaps around the name of each drive when plugged into windows.
Thanks again.
The way the T handles internal storage is a little odd...
Older devices have the "internal SD" formatted as FAT32.
Newer Android devices have this trick called emulated storage, where a FUSE module does special permissions magic to allow /data/media (on an ext4 system) to be mounted to /sdcard
The T is a little odd in that instead of using /data/media, it has int_storage or something like that, which is then remapped via FUSE to /sdcard. It's the only device I know of to have the internal SD formatted as ext4 but not "unified" internal storage (e.g. /sdcard is just a directory under /data)
Didn't really understand any of that.
But it's nice to know that I was right and it does handle the storage a little strangely (I deduced that much from your post at least).

Categories

Resources