DMG images are the way that a lot of MacOSX binary packages are distributed.Â They are somehow like virtual hard disk images or .iso images that you can just mount with a simple double click if you have access to the gui.
But how do you do that from the command line?
and the image should now be mounted somewhere in /Volumes
The hdiutil is a tool used to manipulate such disk images. It can do a lot more then just mount the images. It can even burnÂ them to an optical media, convert them to an isoÂ and some other formats , even compress them using gzip or bzip2 .
1 thought on “Mount .dmg images from command line”