mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
The existing code arbitrarily multiplies START_SECTOR by 512 converting from blocks/sectors to bytes, but blocks was the correct unit to begin with. Also the secondary GPT area is not considered but that was OK because the bogus unit conversion oversized our disks by almost 16MB. Instead of relying on bugs properly reserve 34 sectors at each end of the disk. (Well, we could get away with only 33 at the end since it doesn't have a MBR but meh.)
Description
Languages
Shell
93.1%
Python
6.9%