Provided by: fuse-emulator-utils_1.1.1-1build1_amd64
raw2hdf — Create an .hdf hard disk image from a raw data file
raw2hdf rawfile hdffile
raw2hdf converts a binary dump of a hard disk's data into an IDE disk image in .hdf format for use with Sinclair ZX Spectrum emulators.
-v version specifies the version of .hdf image to be created. Valid values are `1.0' for a version 1.0 file and `1.1' for a version 1.1 file. Defaults to creating version 1.1 files. rawfile specifies a raw data file (or block device corresponding to an actual disk) to be converted. hdffile specifies the .hdf file to create.
Since raw2hdf has no knowledge of the geometry of the disk from which the original image was taken (indeed, the input file need not originate from a real IDE disk at all), there is no guarantee that the information contained in the .hdf file header accurately represents the original disk. However, it will attempt to construct a header that is consistent with the size of the image, to produce an .hdf file which is functionally equivalent.
fuse(1), fuse-utils(1), libspectrum(3) The .hdf format specification, at http://www.zxshed.co.uk/sinclairfaq/index.php5?title=HDF_format. The comp.sys.sinclair Spectrum FAQ, at http://www.worldofspectrum.org/faq/index.html.
Matthew Westcott (firstname.lastname@example.org).