bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56996: gpt_partition_set_system possible regression


From: Mathieu Othacehe
Subject: bug#56996: gpt_partition_set_system possible regression
Date: Fri, 05 Aug 2022 09:14:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hello,

In GNU Guix we are using GNU Parted via Guile-Parted bindings. Upgrading
from Parted 3.4 to Parted 3.5 we discovered a possible regression.

We are creation a new partition on a gpt disk this way:

ped_partition_new (ext4)
ped_partition_set_flag (PED_PARTITION_BIOS_GRUB)
ped_partition_set_system (ext4)

Since 15c49ec04f7eaff014d2e1eddd0aecf4150db63d, ped_partition_set_system
forces the gpt_part_data->type to PARTITION_LINUX_DATA_GUID, whereas it
used to conserve the gpt_part_data->type to PARTITION_BIOS_GRUB_GUID.

This forces us to reverse the ped_partition_set_system and
ped_partition_set_flag call order. Is that expected?

Thanks,

Mathieu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]