Definition:

  • Build a linux filesystem
  • overwrites existing data on the partition

Synopsis:

  • mkfs [options] [-t type] [fs-options] device [size]

List of options:

  • -t, --type type
    • Specify the type of filesystem to be built. If not specified, the default filesystem type (currently ext2) is used.
    • includes: ext2, ext3, ext4, minix, msdos, vfat, xfs, bfs