mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:17:58 +01:00
mkfs: add page (#3284)
This commit is contained in:
parent
4254f54ad4
commit
dc7c28a5d5
1 changed files with 16 additions and 0 deletions
16
pages/linux/mkfs.md
Normal file
16
pages/linux/mkfs.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# mkfs
|
||||
|
||||
> Build a Linux filesystem on a hard disk partition.
|
||||
> This command is deprecated in favor of filesystem specific mkfs.<type> 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}}`
|
Loading…
Reference in a new issue