diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-09-28 11:14:06 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-09-28 14:52:56 +0100 |
commit | 8403f5a9d8f1451e2c2b029b51bac18724b18ebf (patch) | |
tree | 1a9ab11d9c3606e49fd0d55ac44773ef6afc4e53 /src | |
parent | ffc01285ee4289da90983a3320873f27b3d31c4d (diff) | |
download | libguestfs-8403f5a9d8f1451e2c2b029b51bac18724b18ebf.tar.gz libguestfs-8403f5a9d8f1451e2c2b029b51bac18724b18ebf.tar.xz libguestfs-8403f5a9d8f1451e2c2b029b51bac18724b18ebf.zip |
New APIs: compress-out, compress-device-out.
These APIs let you copy compressed files or devices out from the disk
image.
Compression is useful for large images which are mostly zeroes. We
cannot currently do sparseness detection, and compression gives us a
form of zero detection for free.
Example usage:
$ guestfish --ro -a /dev/vg_pin/F16x64 -i \
compress-out gzip /etc/passwd /tmp/passwd.gz
$ file -z /tmp/passwd.gz
/tmp/passwd.gz: ASCII text (gzip compressed data, was "passwd", from
Unix, last modified: Sun Aug 28 14:40:46 2011)
Diffstat (limited to 'src')
-rw-r--r-- | src/MAX_PROC_NR | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 8408670a..f20bd4ef 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -290 +292 |