Irregular Expressions

Aug 19 2011   10:01PM GMT

The EXT file system – Part 2



Posted by: Dan O'Connor
Tags:
block bitmap
ext explanation
group descriptor tables
inode bitmap
super block

The still short version of what happens when you need locate a file on the system is the following;

  • The SuperBlock is read, to collect information about the file system.
  • Next to the Group Descriptor Table (After the SuperBlock on the disk), collection of information about the block groups.
  • Once the block group that the file resides in is determined, the group descriptor table is used to locate where the Inode Table is.
  • The Inode Table will point us to the block root directory entries.
  • That is opened to locate the folder that contains the file we are looking for.
  • Now we have the inode of the folder, we then determine the block group it belongs to (we use information from the SuperBlock for that).
  • Then we go to that block group and get the location of the folder.
  • Now we can open the block the contains the folder.
And this will keep going until the location of the file is found depending on the number of sub folders, then the information will be pulled out of the blocks that contain the information.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: