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