[PATCH 0/2 FOR DISCUSSION ONLY] Implement FUSE filesystem support
** FOR DISCUSSION ONLY ** Not to be applied, and (at the moment) not really working very well. These two patches contain a partial implementation of a FUSE filesystem built on top of libguestfs. What is FUSE? Read: http://fuse.sf.net/ The implementation is a very straightforward mapping of FUSE primitives to guestfs(3) API calls. Note that read/write of files is missing (a rather obvious omission!) but the reason is that I want to get a feel for how read/write system calls are translated into FUSE operations, so I know if we have to cache files on the host side. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
Almost every part of the FUSE API is already covered by the guestfs API, because I looked at this before. This patch implements the four missing API calls required to complete it. 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
This implements the actual FUSE filesystem. The filesystem daemon is called 'fuseguestfs' and the command line arguments to it are roughly compatible with guestfish, eg: fuseguestfs -a win.img -m /dev/sda1:/ --ro Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
participants (1)
-
Richard W.M. Jones