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: B.Hakvoort
Subject: Re: resizing containerpartition and keeping startpoint intact
Date: Tue, 23 Nov 2004 20:30:31 +0100

On Tue, 2004-11-23 at 08:51 +1100, Andrew Clausen wrote:
> You want something like this:
> 
> 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);
> 
Looks good! i'll try it tonight :)

btw. i couldn't find ped_constraint_new_from_min_max() in docs/API. I've
attached a patch to fix this. (Andrew, feel free to change my
description :^) )

Bart

-- 
www.titanium-it.nl --- Open Minded Open Source
www.heavenisopen.com <-----Another Source

Attachment: API_bart.patch
Description: Text Data


reply via email to

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