Comment 1 for bug 2039594

Revision history for this message
Rod Smith (rodsmith) wrote :

This is fixed in an upstream commit:

https://sourceforge.net/p/gptfdisk/code/ci/e1cc654ef71996d836c5d051278130f50f768f84/tree/

This commit causes input to be truncated to the nearest whole value; e.g., "+7.5G" becomes "+7G". Decimal processing would be imprecise and/or would add code that might hide more bugs. If that level of precision is needed, then using a lower unit (e.g., M or K rather than G) is more appropriate.

The upstream commit will eventually be released, presumably as version 1.0.10, but it's not out yet. Note that the current released version of GPT fdisk is 1.0.9, released in April of 2022; version 1.0.8 is out of date, although it was current as of Ubuntu 22.04's release.