Date: Sun, 4 Apr 2004 10:50:23 -0700 (PDT) From: Tim Kientzle <tim@kientzle.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/47560: tar 'z' option gzip'd output has extra garbage Message-ID: <200404041750.i34HoNHQ004052@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/47560; it has been noted by GNATS.
From: Tim Kientzle <tim@kientzle.com>
To: freebsd-gnats-submit@FreeBSD.org, archie@packetdesign.com
Cc:
Subject: Re: bin/47560: tar 'z' option gzip'd output has extra garbage
Date: Sun, 04 Apr 2004 10:45:45 -0700
This behavior is by design.
Archives written to tape, floppy, or other block devices
must be padded to a full block size. In the case
of stdout, tar cannot know the final destination, so
it conservatively assumes the padding is necessary.
When writing directly to a regular file
tar cvzf file.tgz
the padding is not added, as tar can correctly
determine that it is not necessary.
My 'bsdtar' implementation behaves the same way
for the same reasons.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404041750.i34HoNHQ004052>
