add new chinese translations
This commit is contained in:
17
pages.zh/linux/mkswap.md
Normal file
17
pages.zh/linux/mkswap.md
Normal 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}}`
|
Reference in New Issue
Block a user