Package: bzip2
Version: 1.0.3-2
Followup-For: Bug #206361

Seconded please.  Last night I needed this feature, and learned too late
it didn't exist.  The thrillin' story...

I was trying to make a smaller version of a 5.1G '.tgz' archive on a
drive with only 4.8G space left.  Did so by piping 'gunzip' into
'bzip2'.  Seemed worth a shot.  Some hours later, that left things like
so:

    % ls /mnt/tmp -l
    -rw-r--r-- 1 root root 5111288398 Dec  4  2004 debian12_1_04_ac.tgz
    -rw-r--r-- 1 root root 4842004282 Mar  7 06:06 debian12_1_04_ac.tbz

It looks OK, yet is dubious since the drive is filled up:

    % df | grep /mnt/tmp
    /dev/hdb5             10129310   9758147         0 100% /mnt/tmp

Yet 'bzip2' returned no error.  Perhaps the '.tbz' archive only needed
4.8G on the nose.

Is there any fast way to know if it worked, without decompressing and
comparing both files?  (Not that I can see.)  If only 'bzip2' had an '-l'
switch I could compare that with the output of the 'gzip' '-l' switch.


Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages bzip2 depends on:
ii  libbz2-1.0                    1.0.3-2    high-quality block-sorting file co

bzip2 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