Linux fdformat Command

Linux 命令大全Linux Command Encyclopedia

The Linux fdformat command is used to perform low-level formatting on the specified floppy disk device.

When using this command to format a floppy disk, it is best to specify a device like the following:

  • /dev/fd0d360 Drive A:, disk is a 360KB floppy disk
  • /dev/fd0h1440 Drive A:, disk is a 1.4MB floppy disk
  • /dev/fd1h1200 Drive B:, disk is a 1.2MB floppy disk

If you use a device such as /dev/fd0, formatting may fail if the disk inside is not a standard capacity. In this case, the user can use the setfdprm command to specify the necessary parameters in advance.

Syntax

fdformat [-n] device

Parameters:

  • -n Disables the confirmation feature. This option disables the confirmation step after formatting.

Examples

fdformat -n /dev/fd0h1440

Format the disk in drive A to a 1.4MB floppy, and omit the confirmation step.

Linux 命令大全Linux Command Encyclopedia

Other Extensions