.\" -*- nroff -*- .\" .\" dskscan.1: dskscan man page .\" Copyright (c) 2005 John Elliott .\" .\" This library is free software; you can redistribute it and/or modify it .\" under the terms of the GNU Library General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or (at .\" your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, but .\" WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library .\" General Public License for more details. .\" .\" You should have received a copy of the GNU Library General Public License .\" along with this library; if not, write to the Free Software Foundation, .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA .\" .\" Author contact information: .\" John Elliott: email: seasip.webmaster@gmail.com .\" .TH dskscan 1 "17 September 2018" "Version 1.5.9" "Emulators" .\" .\"------------------------------------------------------------------ .\" .SH NAME dskscan - Scan a floppy disc for sector headers .\" .\"------------------------------------------------------------------ .\" .SH SYNOPSIS .PD 0 .B dskscan .RI [ "-type TYPE" ] .RI [ "-side SIDE" ] .RI [ "-comp COMP" ] .RI [ "-dstep" ] .RI [ "-retry COUNT" ] .RI [ "-format FMT" ] .RI [ "-first CYLINDER" ] .RI [ "-last CYLINDER" ] .RI [ -xml ] .I DISKIMAGE .P .PD 1 .\" .\"------------------------------------------------------------------ .\" .SH DESCRIPTION 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. .\" .\"------------------------------------------------------------------ .\" .SH OPTIONS .TP .B -type TYPE Determines which driver is to be used to read from the disc. .RS .TP 8 .B auto Select according to the disc image file. This is the default. .TP .B dsk Use the DSK (CPCEmu format) image driver. .TP .B edsk Use the extended version of the DSK format. .TP .B floppy Use the floppy driver. .TP .B myz80 Use the hard disk (MYZ80 format) image driver. (This format cannot be autodetected.) .TP .B cfi Use the CFI (DOS fdcopy format) image driver. (This format cannot be autodetected.) .TP .B apridisk Use the ApriDisk image driver (from the utility of the same name). (This format cannot be autodetected.) .TP .B raw Use the raw driver. .RE .TP .B -comp COMP Select the compression method used on the source disc image file (has no effect when reading a floppy disc). .RS .TP 8 .B auto Detect from the first few bytes of the file. This is the default. .TP .B sq Huffman coded (SQ / USQ). .TP .B gz Gzipped (gzip / gunzip). .TP .B bz2 Burrows-Wheeler compressed (bzip2 / bunzip2). .RE .TP .B -side SIDE 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. .TP .B -dstep Double-step the source drive (used to read 360k discs in 1.2Mb drives). Only supported by the Linux floppy driver. .TP .B -retry COUNT Set the number of times to attempt a read/write/format in case of error. .TP .B -format FMT 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. .TP .B -first CYL Start scanning at the specified cylinder. .TP .B -last CYL Scan up to and including the specified cylinder. .TP .B -xml Output results as XML rather than as text; if you are launching .I dskscan from another program which then parses what .I dskscan prints, this may be easier for it to cope with. .\" .\"------------------------------------------------------------------ .\" .\".SH BUGS .\" .\"------------------------------------------------------------------ .\" .\".SH SEE ALSO .\" .\"------------------------------------------------------------------ .\" .SH AUTHOR John Elliott .