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.
Comments (6)
James Tauber on March 3, 2006:
Chris on July 31, 2006:
sxtxixtxcxh on Oct. 13, 2006:
sxtxixtxcxh on Oct. 13, 2006:
check out http://www.afp548.com/articles/system/headlessg5.html
cenk on Jan. 18, 2007:
cya,
cenk
Last Modified: March 3, 2006
Author: jtauber
Tim Bray on March 3, 2006: