I *think* newer libguestfs has support for this built-in -- but personally, I use virt-inspector, which has had such functionality since its inception.<br><br><div class="gmail_quote">On Tue, Aug 4, 2009 at 9:50 PM, Zhang Qian <span dir="ltr"><<a href="mailto:zhq527725@gmail.com">zhq527725@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I am using guestfish to write some files into guest file system of my<br>
KVM domain. As you know, I have to mount guest disk at a position in<br>
the filesystem before I write any files into it , e.g.:<br>
mount     /dev/VolGroup00/LogVol00     /<br>
<br>
But the problem is how I can get guest filesystem info without login<br>
guest. Now I have to power on the KVM domain, login the guest,<br>
remember which partition(/dev/VolGroup00/LogVol00) is mounted in root<br>
directory, then power off the domain, execute the above command in<br>
guestfish.<br>
<br>
Is there any libguestfs API or guestfish command which can be used to<br>
get information about the guest filesystems? E.g. which partition is<br>
mounted at which directory. It should be very helpful for me.<br>
Thanks!<br>
<br>
<br>
Regards,<br>
Qian<br>
<br>
_______________________________________________<br>
Libguestfs mailing list<br>
<a href="mailto:Libguestfs@redhat.com">Libguestfs@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libguestfs" target="_blank">https://www.redhat.com/mailman/listinfo/libguestfs</a><br>
</blockquote></div><br>