Reputation: 55
I'm on an Ubuntu 22.04 x86_64 system, kernel version 6.5.0-15-generic. I've read the ext4 documentation on kernel.org and there are some parts that are not explained very thoroughly so I hope someone could kindly clarify these for me.
The layout of a single ext4 block group is shown as follow :
What I'd like to know is :
What is exactly the "Reserved GDT Blocks" in few words ?
I know that both files and directories are represented by inodes metadata structures in the inode Table. So each file and directory ( which is also a kind of file ) has its inode number. Now, if the directory metadata is contained in its inode structure in the inode Table, where is the directory data content ? Is it inside the Data Blocks ?
The documentation makes a distinction between Linear ( classic ) Directories and Hash Tree Directories. Can we simply say that in both forms the directory data content just boils down essentially to a list of inode,user readable name pairs like this :
inode number -> name of the file
inode number -> name of the file
inode number -> name of the file
.........................................................
?
Upvotes: 0
Views: 67