I'm trying to wrap my head around the EXT2 file system, but I can't find a single place that shows me the EXT2 file system in detail.
I finally drew up a diagram myself. So I got that far. Now I'm trying to figure out the following (I've found some info already):
- Number of bytes per sector: 0.5kB - 4kB
- Number of bytes per block: 4kB - 64kB
- Number of sectors per block: 1 - 128
- Number of blocks per block group: ?
- Number of block groups per partition: ?
It's crazy to me that I can't find a single place that has this information.
EDIT: Also just found this, which means my bytes per block number is probably wrong:
#define EXT2_MIN_BLOCK_SIZE 1024
#define EXT2_MAX_BLOCK_SIZE 4096