Mount hdiutil create -size 400m -fs HFS+ /tmp/400.dmg hdiutil attach /tmp/400.dmg -mountpoint /Users/jwhitmarsh/Library/Developer/CoreSimulator/Devices/{guid} Unmount see list of volumes mount eg /dev/disk2s1 hduitil detach {volume id}