Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 12:06:57 -0700
From:      Jeff Davis <freebsd@j-davis.com>
To:        freebsd-stable@freebsd.org
Subject:   libarchive version 1.3.1 appears to be broken
Message-ID:  <1179169617.24902.100.camel@dogma.v10.wvs>

next in thread | raw e-mail | index | archive | help

When I pass the "z" flag to tar when creating an archive, and the files
grow while the archive is being created, I get an invalid gzip output:

$ tar --version
bsdtar 1.2.53 - libarchive 1.3.1

$ tar zcf mybackup.tar.gz mybackup/ # files in mybackup/ are growing
tar: Truncated write; file may have grown while being archived. 
tar: Truncated write; file may have grown while being archived. 
tar: GZip compression failed 

$ gzip -dc mybackup.tar.gz > /dev/null
gzip: ../mybackup.tar.gz: unexpected end of file
gzip: ../mybackup.tar.gz: uncompress failed

However, it appears to work fine on:

$ tar --version
bsdtar 1.2.53 - libarchive 1.2.53

Regards,
	Jeff Davis




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1179169617.24902.100.camel>