1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/cryptsetup-luksformat.md
코드싸이 19c6841a9d
cryptsetup-luksformat: fix typo, linux/c*: add and update Korean translation (#14682)
* linux/c*: add and update Korean translation

* cryptsetup-luksformat: fix typo
2024-11-08 15:55:00 +09:00

550 B

cryptsetup luksFormat

Initialize a LUKS partition and the initial key slot (0) with a passphrase or keyfile. Note: this operation overwrites all data on the partition. More information: https://manned.org/cryptsetup-luksFormat.

  • Initialize a LUKS volume with a passphrase:

cryptsetup luksFormat {{/dev/sdXY}}

  • Initialize a LUKS volume with a keyfile:

cryptsetup luksFormat {{/dev/sdXY}} {{path/to/keyfile}}

  • Initialize a LUKS volume with a passphrase and set its label:

cryptsetup luksFormat --label {{label}} {{/dev/sdXY}}