Proper method of tarring to a pipe, without ``blocksize=1'' later?

Powers kepowers at mbunix.mitre.org
Thu Apr 4 02:52:22 AEST 1991


>>	tar cf - file ... | rsh somewhere dd of=/dev/rmt0
>Try using the 'b'
>option to tar to specify a blocking factor.  Read your
>tar man page under the 'b' option.  Mine says:
>"Due to the blocking algorithm, a tar tape created by writing
>to the standard output should be read from standard input."

You also have the B option to force input and output to 20 blocks per
record.  This allows tar to work across a communications channel where
the blocking may not be maintained.

-- 
----------

Kelly-Erin Powers		The MITRE Corporation
Unix Systems Group		Burlington Road
(617) 271-2143			Bedford, MA 01730
kepowers at mbunix.mitre.org	linus!mbunix!kepowers



More information about the Comp.unix.questions mailing list