[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] How to get information about the guest filesystems by libguestfs



I *think* newer libguestfs has support for this built-in -- but personally, I use virt-inspector, which has had such functionality since its inception.

On Tue, Aug 4, 2009 at 9:50 PM, Zhang Qian <zhq527725 gmail com> wrote:
Hi,

I am using guestfish to write some files into guest file system of my
KVM domain. As you know, I have to mount guest disk at a position in
the filesystem before I write any files into it , e.g.:
mount     /dev/VolGroup00/LogVol00     /

But the problem is how I can get guest filesystem info without login
guest. Now I have to power on the KVM domain, login the guest,
remember which partition(/dev/VolGroup00/LogVol00) is mounted in root
directory, then power off the domain, execute the above command in
guestfish.

Is there any libguestfs API or guestfish command which can be used to
get information about the guest filesystems? E.g. which partition is
mounted at which directory. It should be very helpful for me.
Thanks!


Regards,
Qian

_______________________________________________
Libguestfs mailing list
Libguestfs redhat com
https://www.redhat.com/mailman/listinfo/libguestfs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]