[Libguestfs] [PATCH] New API: btrfs-filesystem-show (RHBZ#1164765)

Richard W.M. Jones rjones at redhat.com
Thu May 12 15:20:28 UTC 2016


On Thu, May 12, 2016 at 05:14:50PM +0200, Pino Toscano wrote:
> Add a new API to list all the devices where a btrfs filesystem is
> spanned.
> ---
>  daemon/btrfs.c       | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  generator/actions.ml | 27 ++++++++++++++++++
>  src/MAX_PROC_NR      |  2 +-
>  3 files changed, 106 insertions(+), 1 deletion(-)

Looks reasonable.

I wonder if we should make more of a push to get btrfs upstream
to implement a JSON mode.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list