On Thu, Mar 29, 2012 at 01:41:42PM +0100, Richard W.M. Jones wrote:
This changes the proposed API slightly.
Previously 'mount-local' generating a 'mounted' event when the
filesystem was ready, and from the 'mounted' event you had to
effectively do a fork.
Now, 'mount-local' just initializes the mountpoint and you have to
call 'mount-local-run' to enter the FUSE main loop. Between these
calls you can do a fork or whatever other work is needed.
After some discussion and a bit of code review with Matt today, I
pushed this.
However it really could do with even more testing. Here is an idea:
https://rwmj.wordpress.com/2012/03/29/libguestfs-mount-local/
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top