Skip to content
Commit eeea3ea6 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

genext2fs.sh: improve number of blocks calculation



Closes #2929

Instead of just adding a fixed amount to the blocks used, try to
estimate the real space needed according to the filesystem structure
(bitmaps, inodes, blocks).

The side effect of this is that we no longer significantly overestimate
the size needed for small file systems.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent f3931ca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment