On Thu, Aug 03, 2017 at 05:37:39PM +0800, lampahome wrote:
2017-07-31 18:57 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
On Mon, Jul 31, 2017 at 06:52:28PM +0800, lampahome wrote:
if I mount through guestfs library in python or guestfish, the same condition happenes?
I mean the insane number of layers and the performance
No. The layers are only present because guestmount uses FUSE.
libguestfs itself performs very well if you are careful to use it in the correct way.
how about guestfish? guestfish follows libguestfs or guestmount?
guestfish is a thin wrapper around the libguestfs API. I (again) strongly suggest that you read the documentation which explains all this in great detail: http://libguestfs.org/guestfs-internals.1.html#architecture http://libguestfs.org/guestfish.1.html#description http://libguestfs.org/guestfs-performance.1.html Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW