]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Use explicit disk geometry for generated FAT filesystem images
authorMichael Brown <mcb30@ipxe.org>
Fri, 22 Jan 2021 12:22:11 +0000 (12:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 22 Jan 2021 12:29:25 +0000 (12:29 +0000)
commit05d7591a71274349d17845a955f0d7d486a9634b
tree077c86798b3a631cc626d7adea0190b3d2aaaeb1
parenta2a6618d460d46acacc47d7c3048da3fcf5afd01
[build] Use explicit disk geometry for generated FAT filesystem images

For FAT filesystem images larger than a 1.44MB floppy disk, round up
the image size to a whole number of 504kB cylinders before formatting.
This avoids losing up to a cylinder's worth of expected space in the
filesystem image.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/genfsimg