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. Thanks, Guillermo. -----Mensaje original----- De: Brian C. Lane <b...@redhat.com> Enviado el: jueves, 6 de febrero de 2025 18:16 Para: guillermo.bla...@deepcodes.es CC: 76...@debbugs.gnu.org; jaime.alva...@deepcodes.es Asunto: Re: bug#76099: Bug in ped_partition_get_flag() On Thu, Feb 06, 2025 at 10:31:16AM +0100, guillermo.bla...@deepcodes.es wrote: > Hi, > > > > I want notify that there are a bug in function > ped_partition_get_flag(), > message: Assertion (ped_partition_is_active (part)) at > ../../libparted/disk.c:1401 in function ped_partition_get_flag() failed. > Version 3.6-4 Sorry, that's not enough information to know what happened. What were you trying to do? Is there a stack trace that you can include, or at least steps to reproduce it. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart