summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-29 17:02:32 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-29 17:22:13 +0200
commit79fb53e4497965a9cf02f31af38db3bc6b2b1fb7 (patch)
tree597bd86aae30add652d7ae7f3db5043a1632afdd
parent94cfa86b56792e8b95e3807c8174e348d70eac59 (diff)
Document the file name limit imposed by the kernel implementation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--doc/format.txt5
1 files changed, 5 insertions, 0 deletions
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