On Mon, Jun 01, 2015 at 04:38:18PM +0800, fu lirong wrote: > Hi all , > By using function : guestfs_ls() , I have realized ls -l commond > with libguesfs . I am wondering how to inspect the virtual disk > dynamically, such as monitor mkdir commond inside the virtual machines, > I mean if I create a directory in virtual machine , how can I detect it
This question comes up often enough that I've added an entry in the FAQ: https://github.com/libguestfs/libguestfs/commit/2dc88ba8cb5c772ef071cf94855018d912fbed88 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/ _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
