Creating filesystems

Once a disk is partitioned, filesystems may be created in those partitions using the mkfs utility. mkfs is a frontend program for filesystem-specific creation tools such as mkfs.ext2 and mkfs.msdos, which are in turn linked to mke2fs and mkdosfs, respectively. mkfs offers a unified frontend, while the links provide convenient names. The choice of which executable to call is up to you.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.