feat(ext4): block and inode bitmap allocation/deallocation

This commit is contained in:
2026-10-18 23:12:33 +02:00
parent 381669d9dd
commit fe0693b969
4 changed files with 239 additions and 59 deletions

View File

@@ -1,7 +1,7 @@
use port_block_device::{BlockDevice, SectorId};
const SECTOR_SIZE: usize = 512;
const MAX_SECTORS: usize = 64;
const MAX_SECTORS: usize = 256;
pub struct MockBlockDevice {
data: [[u8; SECTOR_SIZE]; MAX_SECTORS],