Irregular Expressions

Aug 16 2011   11:34PM GMT

The EXT file system – Part 1

Dan O'Connor Dan O'Connor Profile: Dan O'Connor

Partitions are just fine, but how does the system get to a file on the disk?

On a EXT based system, the short answer is the information is stored in the Inode Table.

That really does not mean much if you don’t have understanding of what the filesystem looks like.

A little explanation is needed.

The first section of the filesystem is going to contain the Super Block (block 1), there could be boot code in front of that (Unused).  The Super block contains information about the file system, such as block sizes, total number of inodes and the volume name to list a few.

Following the Super Block is the Group Descriptor Tables, this is what we need. This will have a backup of the Super Block, and contains the Block Bitmap, Inode Bitmap and group descriptor data structure for every block in group in the filesystem.  These are the basic structures we need to locate information on the disk.

 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: