<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Mr.Rich, <br></span></div><div><span>I downloaded libguestfs-.1.16.5.tar.gz package on www.libguestfs.org<br></span></div><div><span>I tried to patch this package with the two patches you gave me. Here is the result I got:</span></div><div><br><span></span></div><div><span>[root@Fedora16 Downloads]# tar -xvf libguestfs-1.16.5.tar.gz<br></span></div><div><span>[root@Fedora16 Downloads]# </span><span>patch -Np1 --ignore-whitespace -d libguestfs-1.16.5 < p1.patch <br>patching file src/launch.c<br>Hunk #1 succeeded at 833 (offset -11 lines).</span></div><div><span><br></span></div><div><span>[root@Fedora16 Downloads]# patch -Np1 --ignore-whitespace -d libguestfs-1.16.5 < p2.patch <br>patching file .gitignore<br>Hunk #1 succeeded at 73 with fuzz 2.<br>patching file examples/Makefile.am<br>Hunk #1 FAILED at 27.<br>1
 out of 1 hunk FAILED -- saving rejects to file examples/Makefile.am.rej<br>patching file examples/copy_over.c<br><br></span></div><div>p1.patch and p2.patch are the 2 patches respectively.</div><div>I tried <span style="font-weight: bold;">--ignore-whitespace</span> flag and <span style="font-weight: bold;">dos2unix </span>on <span style="font-weight: bold;">p2.patch</span> but still failed.</div><div>I can get into <span style="font-weight: bold;">examples/Makefile.am</span> and patch it manually but I want something automatically.</div><div>Can you take a look at the patch please.</div><div>Thanks.<br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Richard W.M. Jones <rjones@redhat.com><br> <b><span
 style="font-weight: bold;">To:</span></b> THO HUYNH <feeliwood@yahoo.com>; libguestfs@redhat.com <br><b><span style="font-weight: bold;">Cc:</span></b> "libguestfs@redhat.com" <libguestfs@redhat.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 9 March 2012, 20:19<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Libguestfs] mounting using guestfish<br> </font> </div> <br><br>Try this program.  You will need both patches ...<br><br><a href="https://www.redhat.com/archives/libguestfs/2012-March/msg00044.html" target="_blank">https://www.redhat.com/archives/libguestfs/2012-March/msg00044.html</a><br><a href="https://www.redhat.com/archives/libguestfs/2012-March/msg00045.html" target="_blank">https://www.redhat.com/archives/libguestfs/2012-March/msg00045.html</a><br><br>For libguestfs live you will have to modify the open_guest function,<br>to add 'GUESTFS_ADD_DOMAIN_LIVE, 1', and to remove all of
 the<br>inspect_os and mount code.<br><br>Rich.<br><br>-- <br>Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/%7Erjones" target="_blank">http://people.redhat.com/~rjones</a><br>New in Fedora 11: Fedora Windows cross-compiler. Compile Windows<br>programs, test, and build Windows installers. Over 70 libraries supprt'd<br><a href="http://fedoraproject.org/wiki/MinGW" target="_blank">http://fedoraproject.org/wiki/MinGW</a> <a href="http://www.annexia.org/fedora_mingw" target="_blank">http://www.annexia.org/fedora_mingw</a><br><br><br> </div> </div>  </div></body></html>