Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Doesn't work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Doesn't work
Authored by: boredzo on Dec 12, '06 01:57:09PM
hdiutil create -format UDBZ -srcdir Interfaces\ for\ Programmers -volname Interfaces\ for\ Programmers Interfaces\ for\ Programmers.dmg
..........
created: /Volumes/RAM Disk/Interfaces for Programmers.dmg
___
bunzip2 < Interfaces\ for\ Programmers.dmg > Interfaces\ for\ Programmers-bunzippped.dmg
bunzip2: (stdin) is not a bzip2 file.


[ Reply to This | # ]
Doesn't (always) work
Authored by: mantrid on Dec 12, '06 03:41:29PM

Some preliminary observations:
Disk images created directly using hdiutil create -format UDBZ don't bunzip properly.
Those converted to UDBZ (originally created using "Disk Utility" or hdiutil without specifying a format) seem to work after bunzip2, but only using Panther's bunzip2 - Tiger's bunzip2 doesn't unzip them properly.

Anyone have any ideas to account for the differences in the UDBZ images created by the two methods, and the different behaviours of bunzip2 under 10.3 and 10.4?



[ Reply to This | # ]