tar behaviour changed
Paul Koch
paul.koch at statscout.com
Wed Sep 17 21:14:39 PDT 2003
Hi,
Observed some behaviour change in tar which caught
us out.
4.2 / 4.4-Release:
$ tar cfz - . | tar tfz - >/dev/null
$ echo $?
0
4.8-Release:
$ tar cfz - . | tar tfz - >/dev/null
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
$ echo $?
2
Did some searching on google/bsd and PRs but couldn't
find anything. Looks like when tar is writing to a pipe,
it pads to a block size ? Is this normal behaviour now ?
Thanks
Paul.
More information about the freebsd-stable
mailing list