[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231208112302.92724-1-solutions@sophiabehling.com>
Date: Fri, 8 Dec 2023 12:23:02 +0100
From: Sophia Behling <solutions@...hiabehling.com>
To: Theodore Ts'o <tytso@....edu>
Cc: linux-ext4@...r.kernel.org,
Sophia Behling <solutions@...hiabehling.com>
Subject: [PATCH] e2fsprogs: Document old requirement for block size with 'verity'
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@...hiabehling.com>
---
misc/tune2fs.8.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
--
2.39.2
Powered by blists - more mailing lists