Package: xz-utils
Version: 5.1.1alpha+20120614-2
Severity: wishlist

xz does not understand sparse files, but compresses arbritary amounts of
0x00's instead. Currently, tar could serve as a workaround.

  cd $(mktemp -d)
  dd if=/dev/zero of=testfile bs=4096 count=0 seek=4096
  tar cSJf test.tar.xz testfile
  xz -k testfile
  ls -ls

That gives me:

4 -rw-r--r-- 1 user users      200 Oct 12 23:46 test.tar.xz
0 -rw-r--r-- 1 user users 16777216 Oct 12 23:46 testfile
4 -rw-r--r-- 1 user users     2576 Oct 12 23:46 testfile.xz

This awfully wastes not only capacity, but also computing time.
Therefore I suggest handling sparse files efficiently.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages xz-utils depends on:
ii  libc6     2.13-38+deb7u4
ii  liblzma5  5.1.1alpha+20120614-2

xz-utils recommends no packages.

xz-utils suggests no packages.

-- no debconf information
-- 
Kevin Price
http://www.kevin-price.de/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to