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

Re: [Libguestfs] [PATCH 2/2] New API: part_get_part_type for showing partition type

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 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

Here are the upstream commits:




[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.

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