mirror of https://github.com/CrimsonTome/tldr.git
cryptsetup: add Chinese translation (#11341)
parent
b2395e8112
commit
db2b5eeaf6
|
@ -0,0 +1,20 @@
|
|||
# cryptsetup
|
||||
|
||||
> 管理普通 dm-crypt 和 LUKS(Linux 统一密钥设置)加密卷。
|
||||
> 更多信息:<https://gitlab.com/cryptsetup/cryptsetup/>.
|
||||
|
||||
- 初始化 LUKS 卷(覆盖分区上的所有数据):
|
||||
|
||||
`cryptsetup luksFormat {{/dev/sda1}}`
|
||||
|
||||
- 打开 LUKS 卷并在 `/dev/mapper/{{目标}}` 创建解密映射:
|
||||
|
||||
`cryptsetup luksOpen {{/dev/sda1}} {{目标}}`
|
||||
|
||||
- 删除已存在的映射:
|
||||
|
||||
`cryptsetup luksClose {{目标}}`
|
||||
|
||||
- 更改 LUKS 卷的口令:
|
||||
|
||||
`cryptsetup luksChangeKey {{/dev/sda1}}`
|
Loading…
Reference in New Issue