Newsgroups: comp.unix.questions Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!linus!linus!mbunix.mitre.org!kepowers From: kepowers@mbunix.mitre.org (Powers) Subject: Re: Proper method of tarring to a pipe, without ``blocksize=1'' later? Message-ID: <1991Apr3.165222.14900@linus.mitre.org> Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: mbunix.mitre.org Organization: The MITRE Corp., Bedford MA References: <5909@tahoe.unr.edu> <1991Apr2.181342.10127@dragon.wpd.sgi.com> Distribution: usa Date: Wed, 3 Apr 1991 16:52:22 GMT >> 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@mbunix.mitre.org linus!mbunix!kepowers