From 6264d057377260b3f13b68ec90c2a676aa983001 Mon Sep 17 00:00:00 2001 From: Egggggg Date: Wed, 12 Jul 2023 23:20:18 -0400 Subject: [PATCH] hurb --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aef85f9..7164e0f 100644 --- a/README.md +++ b/README.md @@ -68,15 +68,15 @@ There is one of these for each mount point, stored sequentially within the root ### Inode ``` -name_len: u64 -name: [u8; ] next: u64 flags: u8 -entries: u64 +size: u64 addr: u64 +name_len: u64 +name: [u8; ] ``` -There can be many of these in a mount point, and they can be nested within eachother. If this is the last entry in the parent, `next` will refer to this inode, otherwise it will be the address of the next inode under the parent. `entries` specifies the number of inodes within a directory +There can be many of these in a mount point, and they can be nested within eachother. If this is the last entry in the parent, `next` will refer to this inode, otherwise it will be the address of the next inode under the parent. `addr` is the address of the first member of this inode if it's a directory. `size` specifies the number of inodes within a directory, or the number of bytes in a file #### Flags