mkfs
Purpose
Create a Linux file system on a hard-disk partition or a diskette.
Syntax
mkfs [-V] [-t] [options] device_name [ blocks ]
Options
-V produces verbose output needed for testing.-t fstype specifies the file system type (such as ext2 ).-c checks the device for bad blocks before creating the file system.-l filename reads the bad-block list from specified file.
Description
The mkfs command creates a Linux file system on a specified device. The device is typically a hard-disk partition or a diskette (that has been formatted with fdformat ).