A fairly obvious bug with the list (-l) option of gunzip.  In this case,
"grandma-new.img" is approximately 320 gigabytes.  Compressed down to 46gb.
"Uncompressed", and "ratio" are wrong.  

 

 

 

root@xxx:/Virt# gunzip -V

gzip 1.6

Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.

Copyright (C) 1993 Jean-loup Gailly.

This is free software.  You may redistribute copies of it under the terms of

the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.

There is NO WARRANTY, to the extent permitted by law.

 

Written by Jean-loup Gailly.

root@xxx:/Virt# gunzip -l /video1/grandma-new.img.gz

         compressed        uncompressed  ratio uncompressed_name

        46492229886          2245353472 -1970.6% /video1/grandma-new.img

root@xxx:/Virt#

Reply via email to