5 Aug
2009
5 Aug
'09
2:50 a.m.
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