1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

cryptsetup-luksformat: add Chinese translation (#15832)

This commit is contained in:
Wakimizu 2025-03-10 11:55:35 +08:00 committed by GitHub
parent 414d4fb6de
commit 794f92da04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,17 @@
# cryptsetup luksFormat
> 初始化 LUKS 分区并使用口令或密钥文件初始化密钥槽位(0)。
> 注意:此操作将覆写分区上的所有数据。
> 更多信息:<https://manned.org/cryptsetup-luksFormat>.
- 使用口令初始化 LUKS 卷:
`cryptsetup luksFormat {{/dev/sdXY}}`
- 使用密钥文件初始化 LUKS 卷:
`cryptsetup luksFormat {{/dev/sdXY}} {{路径/到/密钥文件}}`
- 使用口令初始化 LUKS 卷并设置其标签:
`cryptsetup luksFormat --label {{标签}} {{/dev/sdXY}}`