Partition and filesystem management commands
The following commands are commonly used to repair and manage filesystems:
Manipulate or display the partition table for
deviceusing a command-driven interactive text interface.
deviceis a physical disk such as /dev/hda, not a partition such as /dev/hda1.
Make a filesystem on
device, which must be a partition.
Prepare a partition for use as swap space.