0

Is there a Linux equivalent of the Mac's

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

I have an imagine I want to attach as a disk drive, but I don't want to mount it. The image is HFS+ formatted and I'm running Ubuntu.

HtS
  • 323

1 Answers1

2

Linux has losetup which you can use to attach a file to the system as a block device. E.g.

losetup /dev/loop0 macfoo.dmg
Kyle Jones
  • 6,364