From 794f92da04dd92347014cd49e1809503b862f5f0 Mon Sep 17 00:00:00 2001 From: Wakimizu Date: Mon, 10 Mar 2025 11:55:35 +0800 Subject: [PATCH] cryptsetup-luksformat: add Chinese translation (#15832) --- pages.zh/linux/cryptsetup-luksformat.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages.zh/linux/cryptsetup-luksformat.md diff --git a/pages.zh/linux/cryptsetup-luksformat.md b/pages.zh/linux/cryptsetup-luksformat.md new file mode 100644 index 0000000000..8a9f73d0bd --- /dev/null +++ b/pages.zh/linux/cryptsetup-luksformat.md @@ -0,0 +1,17 @@ +# cryptsetup luksFormat + +> 初始化 LUKS 分区并使用口令或密钥文件初始化密钥槽位(0)。 +> 注意:此操作将覆写分区上的所有数据。 +> 更多信息:. + +- 使用口令初始化 LUKS 卷: + +`cryptsetup luksFormat {{/dev/sdXY}}` + +- 使用密钥文件初始化 LUKS 卷: + +`cryptsetup luksFormat {{/dev/sdXY}} {{路径/到/密钥文件}}` + +- 使用口令初始化 LUKS 卷并设置其标签: + +`cryptsetup luksFormat --label {{标签}} {{/dev/sdXY}}`