Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am using Terminal and have looked through directories.

I just can't find where my USB drive its directory is.

Which directory is my USB drive mounted in?

share|improve this question

2 Answers 2

up vote 14 down vote accepted

All drives (internal, external and networked) get mounted in /Volumes. You should see a folder there with the name of your USB drive as it appears on your desktop or in the Finder.

share|improve this answer
4  
More generally, you can use the mount command to see all the mounted volumes and where they are mounted. (Only a subset are mounted in /Volumes.) –  Chris Page Aug 11 '12 at 0:40
    
AFAIK both external storage devices and .dmg files are mounted in /Volumes, at least by default. What other subset are you referring to here? –  patrix Nov 4 '12 at 8:21
1  
You can also drag&drop the usb drive from the Finder to the Terminal to get its path ;-) –  yves amsellem Oct 15 at 9:57

Some techniques to try:

ls -a /Volumes

or...

ls -l /Volumes

or...

ls -la /Volumes

...may prove useful.

mount

seems to give all the partitions that might be useful with Disk Utility, during formatting, etc.

you can probably reach your USB drive directly using:

/Volumes/<NameOfYourDrive>

This applies to other types of drives as well: optical, internal and external hard drives. All mounted volumes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.