Package: dar
Version: 2.3.5-1
Severity: normal

dar doesnt support sparse files and manpage says nothing about that, so you
need to do some experimentation to see if dar supports it or not. It will be
good to add sparse files support, but until that, please add a note in the
manpage saying that we don't have it at the moment. This is probably
unnoticeable when you use the compression flag (-z), because big chunks of
zeroes are easily compressed, but if you dont use it, then the resulting
archive will be big / not sparse. Check this:

  serge:/tmp# mkdir -p test/files

  serge:/tmp# cd test/files

  serge:/tmp/test/files# dd of=sparse-file bs=1024 count=0 seek=10240
  0+0 records in
  0+0 records out
  0 bytes (0 B) copied, 1.0338e-05 seconds, 0.0 kB/s

  serge:/tmp/test/files# ls -l 
  total 0
  -rw-r--r-- 1 root root 10485760 2007-10-17 13:09 sparse-file

  serge:/tmp/test/files# du -a -h
  0       ./sparse-file
  4.0K    .

  serge:/tmp/test/files# cd ..

  serge:/tmp/test# dar -c archive_without_compression -R files > /dev/null

  serge:/tmp/test# dar -z -c archive_with_compression -R files > /dev/null

  serge:/tmp/test# ls -l
  total 10276
  -rw-r--r-- 1 root root    10297 2007-10-17 13:10 
archive_with_compression.1.dar
  -rw-r--r-- 1 root root 10485865 2007-10-17 13:10 
archive_without_compression.1.dar
  drwxr-xr-x 2 root root     4096 2007-10-17 13:09 files

  serge:/tmp/test# du -a -h 
  11M     ./archive_without_compression.1.dar
  12K     ./archive_with_compression.1.dar
  0       ./files/sparse-file
  4.0K    ./files
  11M     .

 


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dar depends on:
ii  libattr1                1:2.4.39-1       Extended attribute shared library
ii  libbz2-1.0              1.0.3-7          high-quality block-sorting file co
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libdar64-4              2.3.5-1          Disk ARchive: Shared library
ii  libgcc1                 1:4.2.1-4        GCC support library
ii  libssl0.9.8             0.9.8e-9         SSL shared libraries
ii  libstdc++6              4.2.1-4          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

dar recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to