/mnt/sdcard... Is it the same?

neccoguy21

Member
Joined
Apr 28, 2010
Messages
112
Reaction score
0
I formated my sdcard recently, and I'm pretty sure that's when my root folder changed from /sdcard to /mnt/sdcard. Is this normal? Is it how android is working now? Or did I do something weird? Is it kosher?

Anyone have an answer to this? Thanks!

Sent from my Droid using Tapatalk
 

gflam

Developer
Developer
Theme Developer
Joined
Jun 14, 2010
Messages
1,900
Reaction score
29
Location
Jersey
I don't really have an exact answer to your question but when i looked at my droid i have both a root mnt/sdcard folder and a regular just sdcard folder at the root. I looked in both and they both contain the exact same files not really sure why there is two but i would assume your fine because i have the same files in both folders and i just added a file to my sd card from my computer not even ten minutes ago and it appeared in the mnt folder so you should be fine i guess. Sorry i wish i had a more definate answer
 
OP
neccoguy21

neccoguy21

Member
Joined
Apr 28, 2010
Messages
112
Reaction score
0
I don't really have an exact answer to your question but when i looked at my droid i have both a root mnt/sdcard folder and a regular just sdcard folder at the root. I looked in both and they both contain the exact same files not really sure why there is two but i would assume your fine because i have the same files in both folders and i just added a file to my sd card from my computer not even ten minutes ago and it appeared in the mnt folder so you should be fine i guess. Sorry i wish i had a more definate answer

No, thanks for the reassurance! That's what I was hoping for!

Sent from my Droid using Tapatalk
 

durrell

Member
Joined
Jun 22, 2010
Messages
40
Reaction score
0
Location
North Carolina
It's the way Linux works. When you mount a file system, you mount it in a directory. Typically that directory is /mnt or /media. The reason you see /mnt/sdcard and sdcard is probably because the file utility you're using (I use Linda Manager and it does this) is aliasing the directory into a shortcut so that you can reach it easier. :)
 
OP
neccoguy21

neccoguy21

Member
Joined
Apr 28, 2010
Messages
112
Reaction score
0
It's the way Linux works. When you mount a file system, you mount it in a directory. Typically that directory is /mnt or /media. The reason you see /mnt/sdcard and sdcard is probably because the file utility you're using (I use Linda Manager and it does this) is aliasing the directory into a shortcut so that you can reach it easier. :)

Thanks for the explanation! I can't get enough info, I love this phone so much! This forum rules!
 

Dave12308

Silver Member
Joined
Nov 15, 2009
Messages
3,252
Reaction score
50
Yup. And the more you learn about linux, the more awesome of a device it becomes. Most people are used to Windows, which uses drive letters. Linux doesn't, so there has to be some way to reference the folder heirarchy.

Assume your PC mounts your Droid's sdcard as the F: drive.

on the PC, the path:

F:\downloads\test.apk

would be equivalent to:

/sdcard/downloads/test.apk

on the DROID.

the /mnt/ folder in linux is simply a virtual directory holding the mounted devices. if you were to unmount the card, there would be no more sdcard directory in /mnt/
 

Se7enLC

Active Member
Joined
Nov 16, 2009
Messages
1,262
Reaction score
0
/sdcard is a symbolic link to /mnt/sdcard. /mnt/sdcard is where the SD card is actually mounted, but the same files can also be accessed in /sdcard.
 

Bxrider117

Member
Joined
Dec 7, 2009
Messages
455
Reaction score
0
Location
Back in NYC 4 good!!!
Maybe someone can help me. I have been experiencing Froyo problems. None of my apps would install or uninstall. I finally realized that it has to be my SD card. How can I reformat my card. I have backed everything up, but i am having difficulty formatting it on my Droid. I am running CM Alpha 3.
 

Se7enLC

Active Member
Joined
Nov 16, 2009
Messages
1,262
Reaction score
0
Maybe someone can help me. I have been experiencing Froyo problems. None of my apps would install or uninstall. I finally realized that it has to be my SD card. How can I reformat my card. I have backed everything up, but i am having difficulty formatting it on my Droid. I am running CM Alpha 3.

Make a new thread? your problem has nothing to do with this thread except that you think it's the SD card. SD card formatting is under Settings | SD Card, it's pretty easy to find - but I don't think that is your problem.
 

Bxrider117

Member
Joined
Dec 7, 2009
Messages
455
Reaction score
0
Location
Back in NYC 4 good!!!
Thanks for letting me know I should start a new thread. Tell me something I don't know. Figuring that this was a thread about SD cards, I thought those that would respond would be knowledgeable with SD cards and not thread formation. I will take your advice.
 

dmartins

Member
Joined
Jan 16, 2010
Messages
458
Reaction score
0
Maybe someone can help me. I have been experiencing Froyo problems. None of my apps would install or uninstall. I finally realized that it has to be my SD card. How can I reformat my card. I have backed everything up, but i am having difficulty formatting it on my Droid. I am running CM Alpha 3.
I'm on the Froyo FRF84b and had the same problem formatting my SD card.
I couldn't get it to unmount when it was booted normally.
Once I booted in safe mode it unmount the card the 1st time and formatted too.

Safe Mode:
Turn off your phone, then hold down the Menu and Power/Hang Up buttons, and keep holding them through the splash screens until your phone boots. You’ll see "safe mode" in the lower left corner.
 
OP
neccoguy21

neccoguy21

Member
Joined
Apr 28, 2010
Messages
112
Reaction score
0
Maybe someone can help me. I have been experiencing Froyo problems. None of my apps would install or uninstall. I finally realized that it has to be my SD card. How can I reformat my card. I have backed everything up, but i am having difficulty formatting it on my Droid. I am running CM Alpha 3.

The cleanest way to do it is to remove the sd card from the phone, put it in an adapter and format it on your computer. then there's no chance of hidden files and what not getting in the way. Combined with a data wipe makes it a fresh, factory start.
 

Bxrider117

Member
Joined
Dec 7, 2009
Messages
455
Reaction score
0
Location
Back in NYC 4 good!!!
I've figured it out. Ir saved all my files to my computer from my SD card and booted up my phone in safe mode. From There I was able to format my SD card. I realise that e every now and then you need to clean some of the junk from your SD card.
 

brando56894

Active Member
Joined
Mar 9, 2010
Messages
1,217
Reaction score
0
Location
New Jersey
I didnt read the whole thread but /sdcard is probably a symlink to /mnt/sdcard. If you dont have an /sdcard directory try typing this in the terminal su; ln -s /mnt/sdcard /sdcard
 
Top