[libvirt] [PATCH]: Export the 'label' on block devices

Chris Lalancette clalance at redhat.com
Thu Oct 16 09:52:48 UTC 2008


Chris Lalancette wrote:
> To support LVM partitioning in oVirt, one of the things we need is the ability
> to tell what kind of label is currently on a block device.  Here, a 'label' is
> used in the same sense that it is used in parted; namely, it defines which kind
> of partition table is on the disk, whether it be DOS, LVM2, SUN, BSD, etc.  Note
> that this is different than the partition type; those are things like Linux,
> FAT16, FAT32, etc.

Updated patch based on jim's feedback.  I did not remove the pc98 type; if
everyone else thinks it's a good idea, I'll remove it, but it is part of the ABI
in some sense.  Otherwise, I followed all of jim's suggestions.

-- 
Chris Lalancette
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-iscsi-vol-label-v4.patch
Type: text/x-patch
Size: 10572 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081016/5b74e20c/attachment-0001.bin>


More information about the libvir-list mailing list