Skip to content

Commit

Permalink
man: Fix link for --allow-discards option explanation
Browse files Browse the repository at this point in the history
--allow-discards is documented only in open and refresh man pages
not in luksFormat.
  • Loading branch information
vojtechtrefny authored and mbroz committed Mar 6, 2025
1 parent 8573eb5 commit 848f16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/cryptsetup.8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ Albeit Linux kernel 5.7 added TRIM support for standalone dm-integrity devices,
*cryptsetup(8)* can't offer support for discards (TRIM) in authenticated
encryption mode, because the underlying dm-crypt kernel module does not support
this functionality when dm-integrity is used as auth tag space allocator
(see *--allow-discards* in *cryptsetup-luksFormat(8)*).
(see *--allow-discards* in *cryptsetup-open(8)*).

Some integrity modes requires two independent keys (key for encryption
and for authentication). Both these keys are stored in one LUKS keyslot.
Expand Down

0 comments on commit 848f16b

Please sign in to comment.