mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-21 22:22:07 +02:00

* mkfs*: add Chinese translation --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: Ein Verne <git@einverne.info>
17 lines
456 B
Markdown
17 lines
456 B
Markdown
# mkfs
|
|
|
|
> 在硬盘分区上建立一个 Linux 文件系统。
|
|
> 该命令已被废弃,建议使用特定文件系统的 mkfs.<type> 工具。
|
|
> 更多信息:<https://manned.org/mkfs>.
|
|
|
|
- 在分区上建立一个 Linux ext2 文件系统:
|
|
|
|
`mkfs {{path/to/partition}}`
|
|
|
|
- 建立指定类型的文件系统:
|
|
|
|
`mkfs -t {{ext4}} {{path/to/partition}}`
|
|
|
|
- 建立指定类型的文件系统并检查坏块:
|
|
|
|
`mkfs -c -t {{ntfs}} {{path/to/partition}}`
|