From 79fb53e4497965a9cf02f31af38db3bc6b2b1fb7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 29 Jun 2020 17:02:32 +0200 Subject: Document the file name limit imposed by the kernel implementation Signed-off-by: David Oberhollenzer --- doc/format.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/format.txt') diff --git a/doc/format.txt b/doc/format.txt index 7d4f812..63e8d5d 100644 --- a/doc/format.txt +++ b/doc/format.txt @@ -966,6 +966,11 @@ Also note, that the inode type is stored in the entry, but always as a basic type! + While the field is technically 16 bits, the kernel implementation currently + imposes an arbitrary limit of 255 on the name size field. Since the field is + off-by-one, this means that a file name in SquashFS can be at most 256 + characters long. + 6.1) Directory Index -- cgit v1.2.3