Turn on quiet mode. By default, the medium parameters of the device are being written to standard error output, progress will be indicated by the approximate number of kilobytes read so far, and errors will be printed out in detail, including the information about the location of recovered data in the output. In quiet mode, none of these messages will be generated.
-r
Enable error recovery. By default, fdread stops after the first unrecovered read error, much like dd(1) does. In recovery mode, however, one of two recovery actions will be taken:
If the error was a CRC error in the data field, the kernel is told to ignore the error, and data are transferred to the output file anyway. .Bf -emphasis Note that this will cause the erroneous data to be included in the output file! .Ef Still, this is the best recovery action that can be taken at all.
All other errors are really fatal (usually, the FDC did not find the sector ID fields), thus a dummy block with fill bytes will be included in the output file.
Unless operating in quiet mode, the action taken and the location of the error in the output file will be displayed.
-d device
Specify the input floppy device, defaulting to /dev/fd0. The parameter device must be a valid floppy disk device.
-f fillbyte
Value of the fill byte used for dummy blocks in the output file in recovery mode. Defaults to 0xf0. (Mnemonic: "foo.") The value can be specified using the usual C language notation of the number base.
-o file
Specify the output file to be file. By default, the data will be written to standard output.
-I numsects
Read numsects sector ID fields, and write out their contents to standard output. Each sector ID field contains recorded values for the cylinder number (C), the head number (H), the record number (sector number starting with 1) (R), and the sector shift value (0 = 128 bytes, 1 = 256 bytes, 2 = 512 bytes, 3 = 1024 bytes) (N). The -I option is mutually exclusive with all other options except -d device and -t trackno.
-t trackno
Specify the track number (cylinder number * number of heads + head number) to read the sector ID fields from; only allowed together with the -I numsects option.