dskscan(1)
πΎ dskscan(1) β the Emulators girlies' fave lil scanner π
okay bestie, so dskscan lives in the Emulators part of the manual, and it's about to be your new obsession.
β¨ NAME β¨
dskscan β scan a floppy disc for sector headers π¦
πΈ SYNOPSIS πΈ
dskscan [-type TYPE] [-side SIDE] [-comp COMP] [-dstep] [-retry COUNT]
[-format FMT] [-first CYLINDER] [-last CYLINDER] [-xml] DISKIMAGE
π DESCRIPTION π
So what it does is: dskscan scans a floppy disc (or a disc image, she's flexible like that π
) and prints any sector headers that it finds.
And that's it. That's the whole thing. It does not attempt to read the sectors. No cap. It's a looker, not a reader. π
π OPTIONS π
-type TYPEβ tells it which driver is gonna be used to read from the disc. choose your fighter:autoβ picks based on the disc image file. this is the default, she's autonomous πdskβ use the DSK (CPCEmu format) image driveredskβ use the extended version of the DSK formatfloppyβ use the floppy drivermyz80β use the hard disk (MYZ80 format) image driver. (this format cannot be autodetected, so don't even try π)cfiβ use the CFI (DOS fdcopy format) image driver. (also cannot be autodetected, bestie)apridiskβ use the ApriDisk image driver (from the utility of the same name). (yep, cannot be autodetected either π)rawβ use the raw driver
-comp COMPβ selects the compression method used on the source disc image file. note that this has no effect when reading a floppy disc, it's giving "image files only" energy β¨autoβ detect from the first few bytes of the file. this is the default π«Άsqβ Huffman coded (SQ / USQ)gzβ Gzipped (gzip / gunzip)bz2β Burrows-Wheeler compressed (bzip2 / bunzip2)
-side SIDEβ determines which side (0or1) of the source disc is to be scanned. if this option is not present, both sides will be scanned. she's thorough π-dstepβ double-step the source drive (used to read 360k discs in 1.2Mb drives). only supported by the Linux floppy driver, so don't come for her on other platforms π-retry COUNTβ sets the number of times to attempt a read/write/format in case of error. she's persistent, she tries again π§-format FMTβ do not autodetect the disc format; use the named format instead. the format need only be an approximation to the actual format used by the disc. lowkey chill about it πΈ-first CYLβ start scanning at the specified cylinder π-last CYLβ scan up to and including the specified cylinder. inclusive queen π-xmlβ output results as XML rather than as text. if you're launchingdskscanfrom another program which then parses whatdskscanprints, this may be easier for it to cope with. it's giving "for the machines" π€β¨
ngl bestie, if you're piping this into another program, -xml is the moment. the parser will thank you. π
π AUTHOR π
John Elliott <seasip.webmaster@gmail.com>. an icon, fr fr. π
and that's the whole vibe check, bestie β Version 1.5.9, dated 17 September 2018, straight out of the Emulators manual. go scan something iconic. π¦β¨π
π¦ where this page comes from
- debian bookworm: libdsk-utils 1.5.9+dfsg-1+b1
- debian trixie: libdsk-utils 1.5.9+dfsg-1+b2
- fedora 43: libdsk-tools 1.5.22-1.fc43 Β· LGPL-2.0-or-later
- fedora 44: libdsk-tools 1.5.22-2.fc44 Β· LGPL-2.0-or-later
- nixos 26.05: libdsk 1.5.22
- nixpkgs unstable: libdsk 1.5.22
- ubuntu jammy: libdsk-utils 1.5.9+dfsg-1
- ubuntu noble: libdsk-utils 1.5.9+dfsg-1build1
- ubuntu questing: libdsk-utils 1.5.9+dfsg-1build1
- ubuntu resolute: libdsk-utils 1.5.9+dfsg-1build2
- ubuntu stonking: libdsk-utils 1.5.9+dfsg-1build2
- Copyright (c) 2005 John Elliott
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms