Imagine I have mounted a hard drive to the location /var/data/ of my Linux server, and I would like to print the content of a file.
cat /var/data/foo.txt Ext4 is composed of several sections, for example:
- super block
- file system description
- block bitmap
- inode bitmap
- etc.
My questions are:
- How does ext4 translate the file name to inode under the hood?
- in which section is the file name saved?
- in which section is the inode saved?
- in which section is the data saved?
Reference
superuser: How does the OS find files in the file system? [closed]
