bigmessowires
Well-known member
I'm looking for sample code to directly create an HFS filesystem / disk image on a modern computer, where the HFS disk contains a single file that's supplied as input to the code. Ideally this should be platform-agnostic code without relying on third-party libraries or OS dependencies. The file is data-only, with no resource fork needed. My goal is to to ease the use of StuffIt archives with the Floppy Emu disk emulator by automatically creating an HFS disk image that contains a .sit file stored on the SD card, since this is a common point of confusion for users.
There's an older utility program called HFS Disk Maker that's nearly exactly what I need. I wrote to the author, but haven't heard anything back yet.
If all else fails, I could crack open Inside Macintosh and start reading the HFS specification and mind-numbing details about b-trees and such, but I'm hoping to avoid that.
There's an older utility program called HFS Disk Maker that's nearly exactly what I need. I wrote to the author, but haven't heard anything back yet.
If all else fails, I could crack open Inside Macintosh and start reading the HFS specification and mind-numbing details about b-trees and such, but I'm hoping to avoid that.