Loopback mount in OSX Loopback mount in OSX linux linux

Loopback mount in OSX


Look here https://serverfault.com/questions/174909/mount-block-file-on-osx. Here are the correct parameters for hdiutil:

$ hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount <filename>

Example:

$ hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount /Users/me/backup.rdisk4s2.dd

Example Output:

/dev/disk6