mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* mkfs*: add Chinese translation --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: Ein Verne <git@einverne.info>
12 lines
325 B
Markdown
12 lines
325 B
Markdown
# mkfs.ext4
|
|
|
|
> 在分区内创建一个 ext4 文件系统。
|
|
> 更多信息:<https://manned.org/mkfs.ext4>.
|
|
|
|
- 在设备 b 的分区 1 内创建一个 ext4 文件系统(`sdb1`):
|
|
|
|
`sudo mkfs.ext4 {{/dev/sdb1}}`
|
|
|
|
- 创建一个带有卷标签的 ext4 文件系统:
|
|
|
|
`sudo mkfs.ext4 -L {{volume_label}} {{/dev/sdb1}}`
|