fdformat's Examples

This command performs a low-level format on the first floppy disk (/dev/fd0).

sudo fdformat /dev/fd0

This explicitly formats a 1.44MB floppy disk.

sudo fdformat /dev/fd0H1440

This formats a 720KB floppy disk.

sudo fdformat /dev/fd0H720

This performs formatting and verification to check if the floppy disk is error-free.

sudo fdformat /dev/fd0 -y

  • fdformat formats the disk.
  • mkfs.msdos creates a DOS (FAT) file system on it.

sudo fdformat /dev/fd0 && sudo mkfs.msdos /dev/fd0

This formats and then creates an ext2 file system.

sudo fdformat /dev/fd0 && sudo mkfs.ext2 /dev/fd0

This formats a 2.88MB floppy disk (very rare).

sudo fdformat /dev/fd0H2880

This lists all supported floppy disk formats.

ls /dev/fd0*

This performs a dry run to check if the floppy disk is usable without formatting it.

sudo fdformat -n /dev/fd0

This automatically formats the floppy disk without asking for confirmation.

sudo fdformat /dev/fd0 --no-user-confirm

Formats a floppy disk.

sudo fdformat /dev/fd0

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us