setfdprm(8)

setfdprm8

Sets user-provided floppy disk parameters

Usage

setfdprm [-p] device name

setfdprm [-p] device size sectors heads tracks stretch gap rate spec1 fmt_gap

setfdprm [-c] device

setfdprm [-y] device

setfdprm [-n] device

Overview

setfdprm is a utility that can be used to load disk parameters into the auto-detecting floppy devices and "fixed parameter" floppy devices, to clear old parameter sets and to disable or enable diagnostic messages.

Without any options, setfdprm loads the device (usually /dev/fd0 or /dev/fd1) with a new parameter set with the name entry found in /etc/fdprm (usually named 360/360, etc.). For autodetecting floppy devices, these parameters stay in effect until the media is changed. For "fixed parameter" devices, they stay in effect until they are changed again.

-p device name

Permanently loads a new parameter set for the specified auto-configuring floppy device for the configuration with name in /etc/fdprm. Alternatively, the parameters can be given directly from the command line.

-c device

Clears the parameter set of the specified auto-configuring floppy device.

-y device

Enables format detection messages for the specified auto-configuring floppy device.

-n device

Disables format detection messages for the specified auto-configuring floppy device.

Files

/etc/fdprm

Releases

Unchanged in 3 releases since Debian 1.1 (Buzz).

  1. 1.1–1.3

Bugs

This documentation is grossly incomplete.

Author

Werner Almesberger ([email protected]) Alain Knaff ([email protected])

From fdutils 4.3-6 in Debian 1.3 (Bo). Parsed by carta from the page's man source.