Bug 580556 - request for libguestfs to support .txz tarballs
request for libguestfs to support .txz tarballs
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
All All
low Severity low
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2010-04-08 10:06 EDT by Eric Blake
Modified: 2010-04-13 17:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-04-13 17:30:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eric Blake 2010-04-08 10:06:49 EDT
Description of problem:
libguestfs has the tar-{in,out} and tgz-{in,out} commands for working with uncompressed and gzip-compressed tarballs.  However, the xz tool (lzma compression) tends to have smaller disk space and comparable or even faster decompression.  Therefore, it would make sense to have txz-{in,out} commands to natively support .xz compression.

Version-Release number of selected component (if applicable):
$ guestfish --version
guestfish 1.0.85

How reproducible:

Steps to Reproduce:
1. guestfish -x alloc output.img 14M : run : \
  sfdiskM /dev/sda , : \
  mkfs ext2 /dev/sda1 : \
  mount /dev/sda1 / : \
  txz-in something.tar.xz /

Actual results:
txz-in something.tar.xz
txz-in: unknown command

Expected results:
Create a disk image from the .xz-compressed tarball.

Additional info:
Workaround: Manually decompress the tarball, and fall back to tar-in instead of the requested txz-in.
Comment 2 Richard W.M. Jones 2010-04-13 17:30:21 EDT
Fixed upstream.

Note You need to log in before you can comment on or make changes to this bug.