Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.