You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
totaluncompressedsize += /*0.035*/0.01 * totalnominalsize; /* overhead for file system meta data */
I think the above line is supposed to add 1% overhead in size to account for the ext4 metadata. But it seems to be adding 1% of the accumulated total of all the partitions so far encountered. Shouldn't it be 1% of the nominal size of THIS partition only?
The text was updated successfully, but these errors were encountered:
Oooh, well spotted. Given that the code is inside a foreach loop, I suspect that it was supposed to be:
totaluncompressedsize += /*0.035*/0.01 * partition->partitionSizeNominal(); /* overhead for file system meta data */
Looking through the git history, it seems that bug has been there since 2013 😉
And maybe if the bug does get fixed, the "1% overhead" value would need tweaking? 🤷♂️
On the plus side, I guess over-estimating the needed space is much better than under-estimating the needed space 😆
Yeah, that's what I changed mine to.
I spotted it whilst trying to make the progress bar more accurate.
Making good progress, but currently I have to set this tweak parameter to 5% for Raspbian_Full. Not tried any others in anger yet.
noobs/recovery/multiimagewritethread.cpp
Line 99 in 54ac40f
I think the above line is supposed to add 1% overhead in size to account for the ext4 metadata. But it seems to be adding 1% of the accumulated total of all the partitions so far encountered. Shouldn't it be 1% of the nominal size of THIS partition only?
The text was updated successfully, but these errors were encountered: