cryptsetup: add Chinese translation (#11341)

pull/23/head
The Galaxy 2023-11-01 01:58:44 +08:00 committed by GitHub
parent b2395e8112
commit db2b5eeaf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# cryptsetup
> 管理普通 dm-crypt 和 LUKSLinux 统一密钥设置)加密卷。
> 更多信息:<https://gitlab.com/cryptsetup/cryptsetup/>.
- 初始化 LUKS 卷(覆盖分区上的所有数据):
`cryptsetup luksFormat {{/dev/sda1}}`
- 打开 LUKS 卷并在 `/dev/mapper/{{目标}}` 创建解密映射:
`cryptsetup luksOpen {{/dev/sda1}} {{目标}}`
- 删除已存在的映射:
`cryptsetup luksClose {{目标}}`
- 更改 LUKS 卷的口令:
`cryptsetup luksChangeKey {{/dev/sda1}}`