On Thu, Nov 05, 2009 at 01:15:03PM +0000, Richard W.M. Jones wrote:
After a bit of discussion with Jim Meyering I've decided to
withdraw
this and rewrite it based on libparted. Using the parted command line
tool is just too unpredictable.
After going down this rathole I decided maybe that wasn't such a
good plan after all.
The following patch goes back to using the command line interface, but
we have made guestfs_part_disk work for both MBR and GPT formats
(thanks to Jim).
Most of the rest of the patch is concerned with updating documentation
and examples to emphasize using guestfs_part* instead of
guestfs_sfdisk* calls.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/