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: Thu, 25 Nov 2004 09:58:41 +1100
User-agent: Mutt/1.3.28i

On Wed, Nov 24, 2004 at 09:15:13PM +0100, B.Hakvoort wrote:
> > > PedGeometry* min_geom = ped_geometry_new (dev, start, len);
> > > PedGeometry* max_geom = ped_geometry_new (dev, start, dev->length - 
> > > start);
> > > constraint = ped_constraint_new_from_min_max (min_geom, max_geom);
> 
> Hmmz.. this works, but afaics it basicly creates a very exact constraint
> and doesn't round to a cyclinder boundary.

It should round to a cylinder boundary (for the end only).

Feel free to give me a code-snippet to prove me wrong...

Cheers,
Andrew





reply via email to

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