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

Re: [Libguestfs] [PATCH 1/2] New API: btrfs_filesystem_show

On Wed, Mar 25, 2015 at 09:39:35AM +0000, Chen, Hanxiao wrote:
> So I think we should provide API:

OK, but ...

> btrfs_filesystem_show_all
> https://www.redhat.com/archives/libguestfs/2015-March/msg00029.html

... you can't just dump out the text output of btrfs filesystem show
and require API users to parse it.  It has to be parsed by the daemon
into some suitable structures.  It's a lot of work, but if there is a
patch I'll take a look.


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]