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:
parent
414d4fb6de
commit
794f92da04
1 changed files with 17 additions and 0 deletions
17
pages.zh/linux/cryptsetup-luksformat.md
Normal file
17
pages.zh/linux/cryptsetup-luksformat.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue