Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm mounting an iso-file. Finder shows the name as "This Product" but the folder-name is /Volumes/this_product_" or could be something else.

How can I retrieve the name as shown in the Finder?

share|improve this question

It depends on what you are using it for (just for manual lookup or for parsing).

In Applications -> Utilities -> Disk Utiltity you can just mark the partition (not the whole volume) and at the bottom of the window it will show the mount point.

If you need output that can be parsed somehow here are two ideas:

1) diskinfo list gives you a list of all disks in the system. And with the partition names on the disk your're looking for you can do an diskutil info disk1s1 (replace disk1s1 with the actual partition name) which will list the mount point.

2) Alternately, if you know the name and location one file on the mounted volume, you could do an ls /Volumes/*/thatfile and you'll get output of the volumes folder where it is found.

share|improve this answer

Your Answer


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.