[PATCH] Fix tar-in command hangs when running out of disk space (RHBZ#580246).
This patch also contains some code cleanup, error message fixes, and a regression test. However the pertinent change appears to be this one (which I don't fully understand): - return fwrite (buf, len, 1, fp) == 1 ? 0 : -1; + return fwrite (buf, 1, len, fp) < len ? 0 : -1; 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/
Ignore this patch, another version coming up in a moment. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
On Wed, Apr 07, 2010 at 10:22:17PM +0100, Richard W.M. Jones wrote:
Ignore this patch, another version coming up in a moment.
Or maybe not "in a moment", but the patch is still wrong. The problem seems to be more subtle than I originally thought. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
participants (1)
-
Richard W.M. Jones