Displaying 1 result from an estimated 1 matches for "the_tarball".
2009 Dec 07
2
Re: libguestfs performance
...ce?
First of all, read:
http://libguestfs.org/FAQ.html#slow
Using tar-in/tgz-in to copy the tarball into the appliance is always
going to be slow. I would think you should get better performance if
you write the tarball into an ISO first, and attach that. Something
like:
mkisofs -JR -o cd.iso the_tarball.tar.gz
guestfish -a guest.img -a cd.iso
[...]
><fs> mkmountpoint /guest
><fs> mkmountpoint /cd
[...]
><fs> mount /dev/sdb /cd
[...]
><fs> debug sh "tar xcf /cd/the_tarball.tar.gz /guest"
However we found experimentally that the fastest method of all f...