NAME
createhdf - Create a blank IDE hard disk image in .hdf
format
SYNOPSIS
createhdf [ -c ] [ -s ] cylinders heads
sectors file
DESCRIPTION
Createhdf creates a blank image of an IDE hard
disk in .hdf format for use with Sinclair ZX Spectrum emulators.
OPTIONS
- -c
- specifies that the .hdf image should be created in `compact'
mode, where only the low byte of every word is stored in the image.
This is useful for saving space if the hard disk image is for use
with an interface which access only the low byte of every word.
- -s
- specifies that the .hdf image should not be created as a
sparse file. Normally, createhdf will attempt to create the
hard disk image as a `sparse file', where the operating system
knows that the file consists mostly of zero bytes and fills those
in without using any space in the file. This option disables this.
(There's nothing `magic' about this: if data is written to the
file, it will take up space just like any other data; it's only
empty space which is synthesised by the operating system).
- cylinders
- specifies the number of cylinders in the image.
- heads
- specifies the number of heads in the image.
- sectors
- specifies the number of sectors in the image.
- file
- specifies the file to which the image should be
written.
BUGS
None known.
SEE ALSO
fuse(1),
fuse-utils(1),
(3)
The .hdf format specification, at
.
(At the time of writing,
was inaccessible. A copy is available from the Wayback Machine,
at
).
The comp.sys.sinclair Spectrum FAQ, at
.
AUTHOR
Philip Kendall (pak21-fuse@srcf.ucam.org).