Skip to content

Instantly share code, notes, and snippets.

@russelldavies
Created June 4, 2023 14:51
Show Gist options
  • Save russelldavies/d7cd5ee3d10b2aeb5ccf6dd88b6b38b0 to your computer and use it in GitHub Desktop.
Save russelldavies/d7cd5ee3d10b2aeb5ccf6dd88b6b38b0 to your computer and use it in GitHub Desktop.
Mount disk image in MacOS
#!/bin/sh
hdiutil attach -readonly -imagekey diskimage-class=CRawDiskImage disk.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment