Hi Brian,
              
>               
> > You found a bug in GNU Parted.  Please email a
> bug report to
> > bug-parted@gnu.org
> containing the version (1.6.19), and the following
> > message:
> > 
> > Assertion ((PedSector) PED_LE64_TO_CPU
> (gpt.AlternateLBA) <=
> > disk->dev->length - 1) at disk_gpt.c:621 in
> function gpt_read() failed.
> > 
> 
> v1.6.19 is a *really* old version of parted. Can you
> reproduce this with
> something newer?
> 

These asserts are not there in latest version of libparted.
But, the latest version takes care of only disk expansion case. It doesn't take 
care of the case where the disk has shrunk. If the disk size has reduced, and 
all partitions are intact and there is a space at the end of disk to copy 
backup gpt table, shouldn't we try to write the backup table at the end?


_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to