Encontrei isso online. Aqui está o link: link
Aqui estão os comandos:
hdiutil attach -nomount -noverify -noautofsck -readwrite /volumes/"name of your image"
fsck_hfs -drfy /dev/diskxsx (x is your disk number)
hdiutil detach /dev/diskxsx (x is your disk number)