diff mbox series

e2fsprogs: Document old requirement for block size with 'verity'

Message ID 20231208112302.92724-1-solutions@sophiabehling.com
State New
Headers show
Series e2fsprogs: Document old requirement for block size with 'verity' | expand

Commit Message

Sophia Behling Dec. 8, 2023, 11:23 a.m. UTC
With kernels predating 6.3 the block size had to equal the page size to use
'verity'; with kernel version 6.3 this limitation was removed. However, the
current LTS and SLTS kernels (6.1) predate this. At the same time, 'verity'
is currently a set-only feature in tune2fs.

This combination can cause problems with small partitions (like /boot) or
64k kernels (as on ppc64le, aarch64). Hence, the added note informs users
about the previous kernel limitation.

Link: https://lore.kernel.org/lkml/Y%2FKLHT3zaA0QFhVJ@sol.localdomain/
Signed-off-by: Sophia Behling <solutions@sophiabehling.com>
---
 misc/tune2fs.8.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/misc/tune2fs.8.in b/misc/tune2fs.8.in
index dcf108c1..b44660fd 100644
--- a/misc/tune2fs.8.in
+++ b/misc/tune2fs.8.in
@@ -706,7 +706,9 @@  full time, but subsequent e2fsck runs will take only a fraction of the
 original time, depending on how full the file system is.
 .TP
 .B verity
-Enable support for verity protected files.
+Enable support for verity protected files. Linux kernels older than version
+6.3 require the file system block size to be equal to the kernel page size
+to mount file systems with this feature.
 .B Tune2fs
 currently only supports setting this file system feature.
 .RE