How to mount raw disk images? I'd like to mount a raw dump of a disk, e. g. like those created by dd? Is there something like a loop device in OS X?
For those encountering the same problem:

hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount filename


then mount it as you like.

Source:
https://serverfault.com/questions/174909/mount-block-file-on-osx