[Libguestfs] [PATCH] LocalCopy: Use blockdev to get the size of block devices

Richard W.M. Jones rjones at redhat.com
Tue Apr 6 14:20:14 UTC 2010


On Tue, Apr 06, 2010 at 03:04:00PM +0100, Matthew Booth wrote:
> LocalCopy was previously only using stat to determine the size of a source disk.
> If that source disk was a block device it would return 4k.

Yeah, that was never going to work :-)

Patch looks good, ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list