Subject: Re: bin/695: tar won't restore files that are not writable by owner
To: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
From: None <tholo@toad.com>
List: netbsd-bugs
Date: 01/04/1995 16:34:03
>    I think he was asking for the data to be written in "blocksize" hunks
>    *after* it has been compressed.  GNU tar feeds compress (or gzip) data
>    in "blocksize" hunks, but doesn't reblock it.
>
> I'm looking at the code and some ktrace(1) output, and it sure looks
> to me like GNU tar reblocks the output after compression.  What it
> does *not* do is pad the last block out, unless you use
> `--block-compress'.

GNU tar did not use to do this; it used to do blocking, then compression and
then dump whatever compress / gzip returned directly to the tape device (or
file).  I rest my case.

I still wouldn't mind having the functionality added to pax (and its tar &
cpio frontends) as a substitute for GNU tar and GNU cpio though.

Thorsten
--
Thorsten Lockert        | postmaster@sigmasoft.com | Universe, n.:
1262 Golden Gate Avenue | hostmaster@sigmasoft.com |         The problem.
San Francisco, CA 94115 | tholo@sigmasoft.com      |