Your message dated Wed, 19 Oct 2011 09:41:10 +1100
with message-id 
<caa0zo6b7mviwe_480564obzxcdk2iu9jwtmx-lbkqe69bvr...@mail.gmail.com>
and subject line Re: Bug#447037: dar doesnt support sparse files, add support 
or clarify the situation in the manpage
has caused the Debian Bug report #447037,
regarding dar doesnt support sparse files, add support or clarify the situation 
in the manpage
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
447037: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447037
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
version 2.4.0-1

On 19 October 2011 06:19, Nahuel Greco <[email protected]> wrote:
> Please close this bug, Dar now supports sparse files by using the
> "--sparse-file-min-size" flag and is correctly documented.

Thanks for the heads up. Now closing.
-- 
Brian May <[email protected]>


--- End Message ---

Reply via email to