Ext2: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m + filesystems table
mNo edit summary
Line 1: Line 1:
{{Filesystems}}
{{Filesystems}}
The '''Second Extended Filesystem''' ('''ext2fs''') was the default filesystem of Linux prior to the advent of the journaling file systems ext3fs and ReiserFS. It has native support for UNIX ownership / access rights, symbolic and hard links and other properties that are native to UNIX. Like HPFS, it tries to minimize head movement by distributing data across the disk. Also, by using "groups", it minimizes the impact of fragmentation. It is another "inode" based system. An ext2fs partition is made up of blocks, which are normally 1K each. The first block (the bootblock) is zero-ed, and all the other blocks are divided into so-called block groups (normally, between 256 and 8192 blocks form a group). Each block group contains:
The '''Second Extended Filesystem''' ('''ext2fs''') was the default filesystem of Linux prior to the advent of the journaling file systems ext3fs and ReiserFS. It has native support for UNIX ownership / access rights, symbolic and hard links and other properties that are native to UNIX. Like HPFS, it tries to minimize head movement by distributing data across the disk. Also, by using "groups", it minimizes the impact of fragmentation. It is another "inode" based system. An ext2fs partition is made up of blocks, which are normally 1K each. The first block (the bootblock) is zero-ed, and all the other blocks are divided into so-called block groups (normally, between 256 and 8192 blocks form a group). Each block group contains:

* a copy of the superblock (which is a mighty useful structure containing info about the filesystem);
* the filesystem descriptors (dunno what that is exactly)
* the block bitmap, tells which blocks are used
* the inode bitmap, tells which inodes are used (difference?)
* the inode table, which contains the inodes themselves
* the data blocks referenced by the inodes


== File Sytem Structure ==
== File Sytem Structure ==