Hello,
I've added a new API method to expose parted's resizepart command. It's
been there for some years now and can be used to change the ending
boundaries of a partition. This command does always retain the partition
number and flags. There are cases where simulating this behavior by
removing and re-creating the partition is not easy. One such case is
when the partition numbering contains gaps. If we have a partition table
with 2 partitions with numbers 1 and 3, removing and re-creating the
latter with parted will change its number to 2.
Nikos Skalkotos (1):
New partition API: part_resize
daemon/parted.c | 31 +++++++++++++++++++++++++++++++
generator/actions_core.ml | 22 ++++++++++++++++++++++
generator/proc_nr.ml | 1 +
lib/MAX_PROC_NR | 2 +-
4 files changed, 55 insertions(+), 1 deletion(-)
--
2.13.3