bug-parted
[Top][All Lists]
Advanced

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

Re: Assertion (metadata_length > 0) at disk_dos.c:1790


From: Andrew Clausen
Subject: Re: Assertion (metadata_length > 0) at disk_dos.c:1790
Date: Wed, 2 Feb 2005 11:08:24 +1100
User-agent: Mutt/1.3.28i

Hi Jonathan,

On Tue, Feb 01, 2005 at 02:39:41PM +0000, Jonathan Purcell wrote:
> I have seen this assertion where I specify two extended partitions 
> exactly next to each other;

I assume you mean logical partitions; a partition table can have only
one extended partition.

In most cases, you can't have logical partitions right next to each
other.  Each logical partition must have its own partition table, just
before the partition starts.

> particularly where I use a constraint 
> generated with ped_constraint_exact(). Should the function 
> add_logical_part_metadata just return success where the metadata length 
> is zero?

No... in the cases libparted is complaining, you actually need a
non-zero gap.

Cheers,
Andrew





reply via email to

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