On May 29, 2006, at 10:06 PM, Dominic Blais wrote:
If you need a cross platform disk image (e.g. so that it may be
burned into boot-able media), ISO 9660 would be the best choice.
Which ISO 9660? Level 1, 2, or 3. With what extension support?
Rockridge, Joliet, or HFS?
The answer is simple (and similar to the one you give later in your
post): the minimal set of extensions you actually need, thereby
maximizing portability (e.g. Joliet extensions are not likely
necessary). BTW, The ISO 9660 standard is available here: http://www.ecma-international.org/publications/files/ECMA-ST/
Ecma-119.pdf
But, you don't really need the standard since hdiutil makehybrid will
easily generate an ISO file. On GNU/Linux, you can use mkisofs.
If you want a .dmg do it on a Mac, or finish by shipping to a Mac
where you make your .dmg.
Just a whole lot simpler than trying to come up with your
implementation when Apple has already done the work for you and
ships it ready for use.
I would agree that this is the most reliable strategy, but that isn't
to say it can't be accomplished easily with GNU/Linux.
IISO 9660 does sound like it would probably be the best format,
maybe keeping to level 1 or 2 for the maximum number of machines
it'll work with. But I don't see where java code to create the ISO
9660 would add any value to this, and the tools on the other
platforms from what I saw don't give you everything hdiutil does.
You can do most of the things that hdiutil does with many other
unices, it's just that (in the typical Unix fashion) the
functionality is spread out across many tools. The ISO 9660 is one
of the simpler file systems, but writing java code to do it seems
unnecessary for most possible needs. Futhermore, there may already
be freely available java libraries to do this. However, if someone
here does write a library to do that, please share it! :)
Cheers,
Dominic
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden