If you are a Terminal user you might want to mount .dmg files from commandline.
Basically thats pretty easy:
**Attaching a DMG
**
hdiutil attach /path/to/myDMGname.dmg
If you want to see how it’s mounted: do a
mount
Unmounting:
umount /Volumes/DiskImageName
Thats it.