Tuesday 25 January 2011

Mounting ISO image in Mac OS X

To mount an ISO image in Mac OS X, use the following command:

hdiutil attach /Downloads/iso/SL-6-x86_64-2011-01-21-DVD1.iso


I don't know why, but the image was mounted with a funny name:

titan:iso mgarcia$ ls /Volumes/
"SL 6 x86_64 DVD/ Macintosh HD@
titan:iso mgarcia$ cd /Volumes/

Why is there a '"' before the name? Anyway, it works.

No comments: