aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/format.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/format.txt b/doc/format.txt
index b1d2df5..8c0c710 100644
--- a/doc/format.txt
+++ b/doc/format.txt
@@ -903,7 +903,13 @@
| | | store their inode number as a difference to this. |
+======+==============+======================================================+
- And is followed by entries that each have this structure:
+ The counter is stored off-by-one, i.e. a value of 0 indicates 1 entry follows.
+ This also makes it impossible to encode a size of 0, which wouldn't make any
+ sense. Empty directories simply have their size set to 0 in the inode instead,
+ so no extra dummy header has to be store or looked up.
+
+
+ The header is followed by multiple entries that each have this structure:
+======+==============+======================================================+
| Type | Name | Description |