Resize dmg files on mac
When dmg file size is not enough, we can use the following command to resize it.
When dmg file size is not enough, we can use the following command to resize it.
hdiutil resize -size 20G vdisk.dmg
The command above change my dmg file vdisk.dmg to 20GB.