Get premium membership and access questions with answers, video lessons as well as revision papers.

The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over...

      

The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over the simple filesystem layout of the System V file system

  

Answers


Faith
The System V file system contained four blocks – the boot block, super block, inode array and data
blocks. This was inefficient, because seek times would be massive – inodes are at the start of the disk
and the actual data could be anywhere from the start to the end! There was also only a single super
block (block containing attributes of the entire filesystem). If this was corrupted, it's bye-bye file system.
The Berkeley Fast Filesystem (and ext2) extended the System V filesystem by creating block groups –
all equally sized and each somewhat replicating the System V structure (aside from boot block). The
inode array was split into group descriptors, data block bitmap, inode bitmap and inode table. This
solves the major problems with s5fs, as proximity of inode tables and data blocks is spatial locality-
friendly, and you can no longer corrupt the entire filesystem by way of superblock.
Titany answered the question on April 26, 2022 at 11:45


Next: What is the maximum file size supported by a file system with 16 direct blocks, single, double, and triple indirection? The block size is 512 bytes....
Previous: What is the reference count field in the inode? You should consider its relationship to directory entries in you answer

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions