bug#76099: Bug in ped_partition_get_flag()

"Brian C. Lane" <[email protected]> Fri, 7 Feb 2025 09:18:32 -0800
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
On Fri, Feb 07, 2025 at 09:03:59AM +0100, [email protected] wrote:
> Sorry, i tried this line: bool bootable = ped_partition_get_flag(part,
> PED_PARTITION_BOOT).
> Part is a PedPartition * type
> 
> I'm trying to know if the partition is bootable or not to filter.
> 
> If you need more information I will be happy to provide it.

You can only call that on an active partition (one that isn't metadata
or free).

Brian

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