On Mon, Jun 01, 2015 at 11:59:13AM +0100, Richard W.M. Jones wrote:
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/2dc88ba8cb5c772ef071cf948...
Thanks, that's a nice writeup. Now I can point people to this -- I was
asked this question a couple of times before, and I just used to say
"you have to relaunch the appliance". This answer explains the range of
problems involved.
--
/kashyap