Mkfs

From LQWiki
(Redirected from Create a file system)
Jump to: navigation, search

mkfs is the Unix command to make a filesystem. It creates a new filesystem on a disk partition, erasing all data. For example:

mkfs -t ext3 /dev/hdb1

Creates a new Ext3 filesystem on the /dev/hdb1 partition, which is the first partition on your second IDE disk drive.

Provided by

Most (all?) Linux distributions incorporate this from the [util-linux] project.

See also