On Wed, Mar 25, 2015 at 09:39:35AM +0000, Chen, Hanxiao wrote:
So I think we should provide API:
OK, but ...
... 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.
Rich.
--
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.
http://people.redhat.com/~rjones/virt-top