[parted-devel] Resize removal

Phillip Susi psusi at cfl.rr.com
Wed Nov 30 18:18:27 UTC 2011


On 11/29/2011 04:09 PM, Phillip Susi wrote:
> On 11/29/2011 11:02 AM, Petr Uzel wrote:
>> I was also thinking about some new BLKPG-like ioctl()s. Could you
>> please elaborate more on your new ioctl() proposal? Perhaps we could
>> combine the ideas...
> 
> I just added one to update the length of the partition.  Attaching the patch so far ( untested ).

Slightly updated and tested version.  I was able to successfully extend an ext4 partition while it was mounted multiple times.  I also tried both online extend and shrink of a btrfs partition and this seemed to work well.  Also attaching my patches to parted to allow the online resize.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-partition-resize-function-to-BLKPG-ioctl.patch
Type: text/x-patch
Size: 3059 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20111130/c9c695da/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-BLKPG-ioctl-partition-resize.patch
Type: text/x-patch
Size: 3796 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20111130/c9c695da/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Make-_partition_warn_busy-actually-a-warning-instead.patch
Type: text/x-patch
Size: 1445 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20111130/c9c695da/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20111130/c9c695da/attachment.pgp>


More information about the parted-devel mailing list