mkfs Command Examples

Build a Linux filesystem on a hard disk partition. This command is deprecated in favor of filesystem specific mkfs. utils. More information: https://manned.org/mkfs.

mkfs {{path/to/partition}}

mkfs -t {{ext4}} {{path/to/partition}}

mkfs -c -t {{ntfs}} {{path/to/partition}}