[parted-devel] [PATCH v2] parted: Fix resizepart command

John Gilmore gnu at toad.com
Thu Sep 21 18:57:57 UTC 2017


> I always intended to come up with some way for a script that really
> wants to shrink an in use partition to indicate that so as to bypass
> this check, but otherwise to keep an errant script from trashing data.

You could make a "shrinkpart" command that scripts could use.  This
would pass a flag to libparted to distinguish it from "resizepart".

	John



More information about the parted-devel mailing list