[parted-devel] resizepart behaviour seems inconsistent with mkpart

Phil Susi psusi at ubuntu.com
Mon Jul 24 19:23:14 UTC 2017


On 7/17/2017 1:24 PM, Will Newton wrote:
> Hi,
> 
> I noticed that resizepart seems to behave in a somewhat inconsistent
> manner wrt. mkpart. For example, if I resize a partition with
> "resizepart 2 100MiB" and then "mkpart primary ext4 100MiB 200MiB"
> will overlap by one sector. The attached patch tries to make
> resizepart do the same adjustment with IEC units as mkpart.
> 
> Let me know what you think.
> 
> Cheers,

Looks good.  Could you add a NEWS entry?




More information about the parted-devel mailing list