I'm using mkfs.hfsplus to create a HFS+ volume on Linux, but I want to compress it using Apple's UDIF format. It looks like I should be able to use bzip2 to do this, but I can't really tell how.

Any ideas on how I can create a read-only, UDIF compressed HFS+ volume on Linux?

link|improve this question
Looks like this was cross posted to SuperUser also... – Josh Jan 16 '11 at 16:10
feedback

1 Answer

You might want to look at the source of FreeDMG, an OS X utility which can convert DMGs to many different formats. You need to make sure the image type is UDBZ (UDIF bzip2 compressed)

You may also want to check out the dmg2img tool, the source here may provide some clues.

Of course your best bet is to use a Darwin / OS X system to do this. Why do you need to use Linux? If you can find a way to do this under Darwin you'll make things a lot easier on yourself.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.