Subject: bug#59176: parted is missing syntax to create a partition right after all partitions

From: Thomas Schweikle <[email-masked]>
Date: Thu, 10 Nov 2022 02:21:54 +0100

It is difficult to create partitions after existing partitions using parted:

1. you will have to find the last partition on disk
2. you will have to find the last block used by the partition found
with he first step
3. you have to add 1 to this last block.
4. you can now give the command to create a new partition after this partition

it would be nice to have the ability to specify something like

mkpart <type> <fs> after 100%FREE

to automatically create a partition after the last partition taking up
100% of free space without having to look first for the last
partition, then the last block used, add one to construct the command
to create the new partition.

-- 
Thomas