OperatingSystemsCh10, part2Details of Ext2/3 File System
Operating Systems Ch10, part2 Details of Ext2/3 File System 1
Trivia: Extended File System (Ext2/3/4)-Follow index-node allocationPrimaryFS forLinuxdistribution- Ext4 was merged in the Linux 2.6.28 and released in 2008-Backward-compatible- For simplicity, we focus on Ext2/3-FeaturesofExt2/3/4- https://ext4.wiki.kernel.org/index.php/Main Page-http://e2fsprogs.sourceforge.net/ext2.html
Trivia • Extended File System (Ext2/3/4) – Follow index-node allocation – Primary FS for Linux distribution – Ext4 was merged in the Linux 2.6.28 and released in 2008 – Backward-compatible – For simplicity, we focus on Ext2/3 – Features of Ext2/3/4 – https://ext4.wiki.kernel.org/index.php/Main_Page – http://e2fsprogs.sourceforge.net/ext2.html
Details of Ext2/3- LayoutInode and directory structureLink fileBuffer cacheJournalingVFS3
Details of Ext2/3 - Layout - Inode and directory structure - Link file - Buffer cache - Journaling - VFS 3
Details of Ext2/3- LayoutInode and directory structureLink fileBuffer cacheJournalingVFS4
Details of Ext2/3 - Layout - Inode and directory structure - Link file - Buffer cache - Journaling - VFS 4
Index-nodeallocation Ext2/3 file systems follow the index-node allocationFilenameIndexIndexIndexIndexNode#...node#2node#1node#n-11rock.mp32game.exe3ubuntu.isoIt is arranged as an array. Solookingupanindexnodewillbefast.FLREEIndex NodeRootTableDirectoryT11121305
5 Index-node allocation Filename Index Node # rock.mp3 1 game.exe 2 ubuntu.iso 3 Root Directory F R E E Index Node Table 1 11 21 30 It is arranged as an array. So, looking up an index node will be fast. Index node #1 Index node #2 . Index node #n-1 . . . . . . • Ext2/3 file systems follow the index-node allocation