setfdprm(1)

✨ setfdprm(1) β€” the floppy-parameter glow-up ✨

okay bestie, gather round, because this one is literally about teaching your floppy disk drive its own vibe πŸ’Ύβœ¨ It's called setfdprm, it lives in the General Commands Manual, and it sets user-provided floppy disk parameters. slay.


🌸 Note 🌸

ngl, this manpage was automatically generated from fdutils's texinfo documentation, and the process is only approximative 😭. Some things get lost in translation β€” cross-references, footnotes, indices β€” because the manpage format just doesn't have a cute place to put them. πŸ™ˆ

Also, only the items specific to each command made it over. All the general fdutils info got dropped in the manpage version. So the original texinfo doc is the main character here, and the author strongly advises you to go read that instead.

  • To generate a printable copy from the texinfo doc, run:
./configure; make dvi; dvips fdutils.dvi
  • To generate a HTML copy, run:
./configure; make html

A pre-made HTML can be found at: http://www.tux.org/pub/knaff/fdutils

  • To generate an info copy (browsable using emacs' info mode), run:
./configure; make info

The texinfo doc looks most pretty when printed or as HTML πŸ’…. fr fr, in the info version certain examples are difficult to read because of the quoting conventions used in info. it's giving messy.


πŸŽ€ Description πŸŽ€

setfdprm [-p] device media-description
setfdprm [-c | -y | -n] device

So like, setfdprm is a utility that can be used to:

  • load disk parameters into the auto-detecting floppy devices and "fixed parameter" floppy devices πŸ¦‹
  • clear old parameter sets 🧹
  • disable or enable diagnostic messages πŸ”‡πŸ”Š

These parameters are derived from a media-description β€” see the Media description section below for the tea β˜•.

Without any options, setfdprm loads the device (for example /dev/fd0 or /dev/fd1) with a new parameter set with the name entry found in /etc/mediaprm (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. periodt.

setfdprm can also be used by the superuser to redefine the default formats πŸ‘‘. yes, root energy.


πŸ’… Options πŸ’…

  • -p device name β€” Permanently loads a new parameter set for the specified auto-configuring floppy device for the configuration with name in /etc/mediaprm. 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. πŸ”‡

πŸ¦‹ Media description πŸ¦‹

Please see the Media description section in the full fdutils documentation:

  • Texinfo documentation (info fdutils)
  • HTML documentation in /usr/share/doc/fdutils/Fdutils.html
  • or DVI documentation in /usr/share/doc/fdutils/Fdutils.dvi.gz

πŸ’€ Bugs πŸ’€

This documentation is grossly incomplete. 😭 not the self-drag, but okay, honesty is iconic.


🌈 See Also 🌈

Fdutils' texinfo doc


okay that's the whole thing bestie, you ate πŸ«ΆπŸ’– this was fdutils-5.6, dated 27Jan21, and it's the setfdprm(1) page. now go format something ✨