How to mount and unmount ISO in Mac from the cli

You can’t do “mount -o loop filename.iso /mount_point” in Mac like in Linux. You use hdiutil.

hdiutil mount filename.iso
hdiutul unmount /Volumes/mount_point
Advertisements