docs: fix typo for luks2

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
Chinmay D. Pai 2024-10-10 11:48:22 +05:30
parent a88006e00c
commit 4716c8a07d
Signed by: thunderbottom
GPG Key ID: 75507BE256F40CED

View File

@ -222,7 +222,7 @@ An encrypted swap partition can optionally be set up using BTRFS later.
All commands prefixed with `#` are expected to be run as the `root` user. Make sure to enter a strong encryption password during `luksFormat` (and then remember it!).
```shell
# cryptsetup luksFormat --type=luk2 /dev/nvme0n1p2
# cryptsetup luksFormat --type=luks2 /dev/nvme0n1p2
# cryptsetup open /dev/nvme0n1p2 cryptroot
```