aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-08-31 19:16:57 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-12-01 18:46:52 +0100
commit47a11fdfdfbfde02e19f3d10a8ef0ebd723c2eb6 (patch)
treea2e78cf5ac9c62a0b40b9cae2c8fc02813330210
parentb5477cf2abdd76e22d227bd3959c7150251fafc0 (diff)
Fix: documentation: directory header inode number signedness
A directory listing starts with a header that specifies a reference inode number. Each entry then specifies a difference from that reference value. While the difference is _signed_, the reference value is _unsigned_. This is handled correctly in the code, but was pointent out wrongly in the documentation. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--doc/format.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/format.adoc b/doc/format.adoc
index f81b6f8..f5d676e 100644
--- a/doc/format.adoc
+++ b/doc/format.adoc
@@ -817,7 +817,7 @@ The directory header has the following structure:
| u32 | start | The location of the metadata block in the inode table
where the inodes are stored. This is relative to the
inode table start from the super block.
-| s32 | inode number | An arbitrary inode number. The entries that follow
+| u32 | inode number | An arbitrary inode number. The entries that follow
store their inode number as a difference to this.
|===