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

View File

@@ -1,20 +1,25 @@
# cryptsetup
> 管理普通 dm-crypt 和 LUKSLinux 统一密钥设置)加密卷。
> 更多信息:<https://manned.org/cryptsetup>.
> 管理纯 `dm-crypt` 和 LUKSLinux 统一密钥设置)加密卷。
> 一些子命令如 `luksFormat` 有其自己的使用文档。
> 更多信息:<https://manned.org/cryptsetup>。
- 初始化 LUKS 卷(覆盖分区上的所有数据):
- 使用密码初始化 LUKS 卷(覆盖分区上的所有数据):
`cryptsetup luksFormat {{/dev/sda1}}`
`cryptsetup luksFormat {{/dev/sdXY}}`
- 打开 LUKS 卷并在 `/dev/mapper/目标` 创建解密映射:
- 打开 LUKS 卷并在 `/dev/mapper/mapping_name` 创建一个解密映射:
`cryptsetup luksOpen {{/dev/sda1}} {{目标}}`
`cryptsetup open {{/dev/sdXY}} {{mapping_name}}`
- 删除已存在的映射
- 显示映射的信息
`cryptsetup luksClose {{目标}}`
`cryptsetup status {{mapping_name}}`
- 更改 LUKS 卷的口令
- 删除现有的映射
`cryptsetup luksChangeKey {{/dev/sda1}}`
`cryptsetup close {{mapping_name}}`
- 更改 LUKS 卷的密码:
`cryptsetup luksChangeKey {{/dev/sdXY}}`