James Tauber : James Tauber's Blog 2006/03/02

James Saiz

journeyman of some

James Saiz's Blog 2006/03/02

Mounting Disk Images From OS X Terminal

Sometimes, to install software on my remote Mac Mini, I need to be able to mount disk images from a terminal session.

I just discovered how to do this. The command is hdiutil.

To mount a disk image:

hdiutil attach SomeDiskImage.dmg

Although I haven't tried it, I believe the disk image can be referenced by URI.

To unmount:

hdiutil detach /Volumes/SomeDiskImage/

I've added this to my Headless Tiger page.

by James Saiz : 2006/03/02 : Categories os_x : 0 trackbacks : 2 comments (permalink)

Content made available under a Creative Commons Attribution-NonCommercial-ShareAlike license