[PATCH] e2fsprogs: Document old requirement for block size with 'verity'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux