bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem (bug) with 'gunzip -l'


From: Rick von Richter
Subject: Problem (bug) with 'gunzip -l'
Date: Tue, 21 Nov 2000 12:35:34 -0800

System:
Solaris 2.6 patched
Ultra E450
gunzip -V shows;
  gunzip 1.2.4.4294967298 (1998-05-21)
  Compilation options:
  DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H 


We gzipped an 8GB file. We run 'gunzip -l' on the newly created .gz file
and it shows the uncompressed size as 3.7GB.

Why does it not show the correct UNcompressed size of 8GB?

Here's a history;

address@hidden:/nsbackup/msgbackup> ls -l
total 26420752
-rw-r--r--   1 root     other    3241093920 Nov 21 05:11
msgbackup.tar.200011210401.gz
-rw-r--r--   1 root     other    8026400768 Nov 21 09:24
msgbackup.tar.200011210801
-rw-------   1 root     other    2253275136 Nov 21 10:42
msgbackup.tar.200011210801.gz

When this listing was taken, the file msgbackup.tar.200011210801 is in the
process of being zipped.  But, you can see the original size is 8026400768
bytes.

address@hidden:/nsbackup/msgbackup> ls -l
total 12700624
-rw-r--r--   1 root     other    3241093920 Nov 21 05:11
msgbackup.tar.200011210401.gz
-rw-r--r--   1 root     other    3258409205 Nov 21 09:24
msgbackup.tar.200011210801.gz

This is a listing after gzip has finished. As you can see, the compressed
size of the file msgbackup.tar.200011210801.gz is 3258409205 bytes which on
my calculator is about a 60% reduction.

address@hidden:/nsbackup/msgbackup> gunzip -l *
method  crc     date  time           compressed        uncompressed  ratio
uncompressed_name
defla 7ec2d037 Nov 21 05:11          3241093920          3698409984  12.3%
msgbackup.tar.200011210401
defla 69caf3c6 Nov 21 09:24          3258409205          3731433472  12.6%
msgbackup.tar.200011210801
                                     6499503125          7429843456  12.5%
(totals)

As you can see from this running of gunzip -l, the compressed column is
correct but the uncompressed column is incorrect as well as is the ratio.

Any ideas?

Cheers, Rick

P.S. Feel free to contact me if you need any more info.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Rick von Richter Systems/Network Supervisor       Voice: 858-831-2222
  address@hidden    Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: rickv.vcf
Description: Card for Rick von Richter


reply via email to

[Prev in Thread] Current Thread [Next in Thread]