[Libguestfs] [PATCH 3/4] New APIs: vfs-label and vfs-uuid return label and uuid for many fs types.

Matthew Booth mbooth at redhat.com
Wed Jun 2 12:20:54 UTC 2010


On 01/06/10 15:37, Richard W.M. Jones wrote:
>> From 27b730a6820b80a49a4da1af9f4c8e8a952f735e Mon Sep 17 00:00:00 2001
> From: Richard Jones<rjones at redhat.com>
> Date: Tue, 1 Jun 2010 13:57:12 +0100
> Subject: [PATCH 3/4] New APIs: vfs-label and vfs-uuid return label and uuid for many fs types.
>
> These APIs generalize the existing 'get-e2label' and 'get-e2uuid'
> calls, to provide calls which should be able to get the label
> and UUID for most filesystem types.  These use 'blkid' to do the
> work.
>
> I have tested that the blkid commands themselves work on RHEL 5.
>
> (Suggested by Yufang Zhang).
> ---
>   daemon/blkid.c   |   12 ++++++++++++
>   src/MAX_PROC_NR  |    2 +-
>   src/generator.ml |   23 +++++++++++++++++++++++
>   3 files changed, 36 insertions(+), 1 deletions(-)
>

ACK.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list