On Tue, Mar 24, 2015 at 07:20:17AM -0400, Chen Hanxiao wrote:
This patch will add support for getting partition type
of a partiton numbered device.
Signed-off-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
I have pushed this.
I changed the API name to part_get_mbr_part_type since it's really
MBR-specific, and also we have an API called part_get_parttype[1] so
there was an opportunity for confusion.
Also I added an extra test and made a small adjustment to the API
description.
Here are the upstream commits:
https://github.com/libguestfs/libguestfs/commit/af9aa2eb0582bfced4e16ade7...
https://github.com/libguestfs/libguestfs/commit/0c396a4bce578486dfc4a38e1...
Thanks,
Rich.
[1] returns the partition table type like "mbr".
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top