bug-parted
[Top][All Lists]
Advanced

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

Re: resizing containerpartition and keeping startpoint intact


From: Andrew Clausen
Subject: Re: resizing containerpartition and keeping startpoint intact
Date: Sat, 4 Dec 2004 11:54:38 +1100
User-agent: Mutt/1.5.6+20040722i

On Mon, Nov 29, 2004 at 03:00:49PM +0100, B.Hakvoort wrote:
> Andrew, then it must be me, whatever i do i'll end up with a very exact
> constraint, here some relevant code:
> 
> PedGeometry* min_geom = ped_geometry_new( device, orig_start,
> new_length );
> PedGeometry* max_geom = ped_geometry_new( device, orig_start, device-
> >length - orig_start);
> constraint = ped_constraint_new_from_min_max( min_geom, max_geom );
> 
> the resizing is done with:
> ped_disk_set_partition_geom ( disk, c_partition, constraint, orig_start,
> new_end ) ;
> 
> Is this what you meant?

No.  I meant a full working program that creates a test case, and
reproduces the problem.

Perhaps the partition in your test case doesn't have a cylinder-aligned
start?

Cheers,
Andrew




reply via email to

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