[parted-devel] resizepart behaviour seems inconsistent with mkpart

Will Newton will.newton at gmail.com
Mon Jul 17 17:24:14 UTC 2017


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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-parted-Adjust-resizepart-end-if-using-IEC-units.patch
Type: text/x-patch
Size: 1400 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20170717/862d1bbb/attachment.bin>


More information about the parted-devel mailing list