]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: enlarge partition by move start down
authorKarel Zak <kzak@redhat.com>
Mon, 8 Nov 2021 12:38:45 +0000 (13:38 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Nov 2021 12:38:45 +0000 (13:38 +0100)
commit226c844dec2dbda235e74f834d59ba1d25122ce0
treead4ee67d41c52f0180de9ee2ac905dae2b79e6d7
parent317e2de52d8fcfa79fd99010828d08220eba00f4
libfdisk: enlarge partition by move start down

Now it's possible move start of the partition only when offset or
absolute value is specified. This commit implements resize to "use all
available free space before the current start".

We already support the same for end of the partition (resize to use all
free space after the partition).

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/partition.c