This commit is contained in:
Egggggg 2023-07-12 23:20:18 -04:00
parent 045d7e5106
commit 6264d05737

View file

@ -68,15 +68,15 @@ There is one of these for each mount point, stored sequentially within the root
### Inode ### Inode
``` ```
name_len: u64
name: [u8; <name_len>]
next: u64 next: u64
flags: u8 flags: u8
entries: u64 size: u64
addr: u64 addr: u64
name_len: u64
name: [u8; <name_len>]
``` ```
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 #### Flags