On Fri, Feb 07, 2025 at 09:03:59AM +0100, guillermo.bla...@deepcodes.es 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




Reply via email to