Changelog:
dmg2img-1.6.5:
23 July 2013 vu1tur
Fixed a bug in handling some types of dmg files
dmg2img-1.6.4:
25 April 2012 vu1tur
Compilation bugfix (Linux)
dmg2img-1.6.3:
07 April 2012 vu1tur
Added option -l to list partitions
Added option -p to extract only specific partition
Added support for a rare case scenario of koly block being at the
the beginning of the image (thanks to Friik)
dmg2img-1.6.2:
24 March 2010 vu1tur
Fixed a bug in processing a terminal block type
Added periodic flushing of debug log file
DMG2IMG is an Apple's compressed dmg to standard (hfsplus)
image disk file convert tool.
Taken from a nudge by Chuck Swiger on netbsd-users@, with thanks.