add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

17
pages.zh/linux/mkswap.md Normal file
View File

@@ -0,0 +1,17 @@
# mkswap
> 在设备或文件上设置 Linux 交换区。
> 注意:`path/to/file` 可以指向常规文件或交换分区。
> 更多信息:<https://manned.org/mkswap>。
- 设置指定的交换区:
`sudo mkswap {{path/to/file}}`
- 在创建交换区之前检查分区中的坏块:
`sudo mkswap -c {{path/to/file}}`
- 为分区指定标签(以便 `swapon` 可以使用该标签):
`sudo mkswap -L {{label}} {{/dev/sda1}}`