]> 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)
commit0dc147fc3b7f5def060f978df4cbc376a3cbc440
tree2822eb6b8f94812456328004392f1cd4c3274290
parentd1d3e484f9aeec210747a7f78702ace74b1d253a
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]