mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
418 B
418 B
mkfs
Build a Linux filesystem on a hard disk partition. This command is deprecated in favor of filesystem specific mkfs. utils.
- Build a Linux ext2 filesystem on a partition:
mkfs {{path/to/partition}}
- Build a filesystem of a specified type:
mkfs -t {{ext4}} {{path/to/partition}}
- Build a filesystem of a specified type and check for bad blocks:
mkfs -c -t {{ntfs}} {{path/to/partition}}