bin/47560: tar 'z' option gzip'd output has extra garbage

Yar Tikhiy yar at FreeBSD.org
Wed Nov 26 05:40:10 PST 2003


The following reply was made to PR bin/47560; it has been noted by GNATS.

From: Yar Tikhiy <yar at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org, archie at packetdesign.com
Cc:  
Subject: Re: bin/47560: tar 'z' option gzip'd output has extra garbage
Date: Wed, 26 Nov 2003 16:35:52 +0300

 This seems to be an undocumented feature (i.e., a bug) of GNU tar
 itself.  If writing a compressed archive to anything but a plain
 file, GNU tar will zero pad it to the next block boundary (10K by
 default.)  I think documenting this feature in the FreeBSD tar(1)
 manpage will be sufficient to close this PR.
 
 -- 
 Yar


More information about the freebsd-bugs mailing list