[parted-devel] [PATCH] added swap flag for partitions on dos label

Brian C. Lane bcl at redhat.com
Tue Aug 10 22:57:06 BST 2021


On Mon, Jul 26, 2021 at 10:18:35AM +0000, Arvin Schnell wrote:
> 
> Hi,
> 
> here is a patch for master to support displaying and setting (on
> already existing partitions) the swap flag on MS-DOS partitions
> like it already works for GPT partitions.
> 
> So far the swap flag can only be set when creating a partition
> and setting the file-system to linux-swap.

Makes sense to me. Pushed to master with the slight addition of
updating parted.texi to list GPT and MS-DOS for the swap flag.

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list