Commit 157365b
authored
fix: increase ext4 filesystem overhead from 20% to 50% (#55)
The 20% overhead was insufficient for small filesystems with many files
(like images with timezone data). ext4 requires significant space for
superblock, group descriptors, inode tables, and directory entries.
This caused mkfs.ext4 to fail with "Could not allocate block in ext2
filesystem" when converting images to disk format.
Tested with Alpine + tzdata image which previously failed.1 parent d353357 commit 157365b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments