Scroll to navigation

dskscan(1) Emulators dskscan(1)


dskscan - Scan a floppy disc for sector headers


dskscan [-type TYPE] [-side SIDE] [-comp COMP] [-dstep] [-retry COUNT] [-format FMT] [-first CYLINDER] [-last CYLINDER] [-xml] DISKIMAGE


Dskscan scans a floppy disc (or a disc image) and prints any sector headers that it finds. It does not attempt to read the sectors.


Determines which driver is to be used to read from the disc.
Select according to the disc image file. This is the default.
Use the DSK (CPCEmu format) image driver.
Use the extended version of the DSK format.
Use the floppy driver.
Use the hard disk (MYZ80 format) image driver. (This format cannot be autodetected.)
Use the CFI (DOS fdcopy format) image driver. (This format cannot be autodetected.)
Use the ApriDisk image driver (from the utility of the same name). (This format cannot be autodetected.)
Use the raw driver.

Select the compression method used on the source disc image file (has no effect when reading a floppy disc).
Detect from the first few bytes of the file. This is the default.
Huffman coded (SQ / USQ).
Gzipped (gzip / gunzip).
Burrows-Wheeler compressed (bzip2 / bunzip2).

Determines which side (0 or 1) of the source disc is to be scanned. If this option is not present both sides will be scanned.

Double-step the source drive (used to read 360k discs in 1.2Mb drives). Only supported by the Linux floppy driver.

Set the number of times to attempt a read/write/format in case of error.

Do not autodetect the disc format; use the named format. The format need only be an approximation to the actual format used by the disc.

Start scanning at the specified cylinder.

Scan up to and including the specified cylinder.

Output results as XML rather than as text; if you are launching dskscan from another program which then parses what dskscan prints, this may be easier for it to cope with.


John Elliott <>.

17 September 2018 Version 1.5.9