Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

when I double click a disk image it mounts under /Volumes/image-volume-name. I want to change that for a specific image. I know that I can control the directory when mounting from a command line, but I'd really rather have it mount to my specific directory when mounted by simple opening in finder.

share|improve this question

you can't if you use plain Apple mounting.

A work round is to create a symbolic link where you want the mount to be and link to the /Volumes/image-volume-name The image will mount under /Volumes but you can access it via the symbolic link path

e.g. in terminal

ln -s /path/where/you/want /Volumes/image-volume-name

share|improve this answer
    
The reason for my question was that I don't want the mount directory to be inside /Volume, thats was the point ;) – Vitaly Kushner Mar 15 '11 at 21:53
    
The net effect is the same ie the data is visible in the directory you want (look at Apple's directories e.g. /tmp and that is a link to elsewhere so is a common way of doing things) – Mark Mar 15 '11 at 23:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .