[et-mgmt-tools] Re: [Libvir] virt-df (a 'df' tool for virtual domains)

John Levon levon at movementarian.org
Thu Sep 27 18:36:35 UTC 2007

On Thu, Sep 27, 2007 at 07:07:00PM +0100, Richard W.M. Jones wrote:

> (2) It only understands a limited set of partition types.  Assuming that 
> the files and partitions that we get back from libvirt / Xen correspond 
> to block devices in the guests, we can go some way towards manually 
> parsing those partitions to find out what they contain.  We can read the 
> MBR, EBR, superblocks and so on.  However that's a lot of parsing work, 
> and currently there is no library which understands a wide range of 
> partition schemes and filesystem types (not even libparted which doesn't 
> support LVM yet).  The Linux kernel does support that, but there's not 
> really any good way to access that work.

Note that extending libfsimage would be the way to go for the latter
part of this (understanding file systems), I think.


More information about the et-mgmt-tools mailing list