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.
-pdevice 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.
-cdevice-
Clears the parameter set of the specified auto-configuring floppy device.
-ydevice-
Enables format detection messages for the specified auto-configuring floppy device.
-ndevice-
Disables format detection messages for the specified auto-configuring floppy device.
Files
/etc/fdprm
Releases
Unchanged in 3 releases since Debian 1.1 (Buzz).