Linux fdformat Command
The Linux fdformat command is used to perform low-level formatting of a specified floppy disk drive device.
When using this command to format a floppy disk, it is best to specify a device like the following:
- /dev/fd0d360 drive A:, with a 360KB disk
- /dev/fd0h1440 drive A:, with a 1.4MB disk
- /dev/fd1h1200 drive B:, with a 1.2MB disk
If you use a device like /dev/fd0 and the disk inside is not of standard capacity, formatting may fail. In that case, the user can use the setfdprm command to specify the necessary parameters beforehand.
Syntax
fdformat [-n] device
Parameters:
- -n Disables confirmation. This option turns off the verification step after formatting.
Example
fdformat -n /dev/fd0h1440
Formats the disk in drive A as a 1.4MB disk, omitting the verification step.
Linux Command Reference