Utility to create and manage disk images.
hdiutil attach {{path/to/image_file}}
hdiutil detach /Volumes/{{volume_name}}
hdiutil info
hdiutil makehybrid -o {{path/to/output_file}} {{path/to/directory}}