]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: ext2 filesystem driver with full RW support
authorTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 05:03:12 +0000 (02:03 -0300)
committerTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 05:03:12 +0000 (02:03 -0300)
commit412289eaec56c86651fec083d46773e461da90d8
tree11c2f837789e9b5a1929794e80a1fd1e492a1b61
parent7d294e1e6e853981feed35dd3e1d57aa22585ed1
feat: ext2 filesystem driver with full RW support

- New ext2.c + ext2.h: complete ext2 filesystem implementation
- Superblock parsing, block group descriptor table, inode read/write
- Block mapping: direct, singly/doubly/triply indirect blocks
- File read/write with automatic block allocation
- Directory operations: finddir, readdir, create, mkdir, unlink, rmdir,
  rename, truncate, link (hard links)
- Block and inode bitmap allocation/deallocation
- Symlink support (inline small symlinks via i_block)
- Auto-detection of inode size (128 or 256 for rev1)
- Supports 1KB, 2KB, and 4KB block sizes

Build: clean, cppcheck: clean, smoke: 19/19 pass
include/ext2.h [new file with mode: 0644]
src/kernel/ext2.c [new file with mode: 0644]