*BSD News Article 5544


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!know!mips2!cass.ma02.bull.com!think.com!ames!sgi!rigden.wpd.sgi.com!rpw3
From: rpw3@rigden.wpd.sgi.com (Rob Warnock)
Newsgroups: comp.unix.bsd
Subject: Re: Tape on 386bsd...
Message-ID: <q83o7rs@sgi.sgi.com>
Date: 24 Sep 92 05:52:14 GMT
Sender: rpw3@rigden.wpd.sgi.com
Organization: Silicon Graphics, Inc.  Mountain View, CA
Lines: 24

randy@chinet.chi.il.us (Randy Suess) writes:
+---------------
| bob@obiwan.uucp (Bob Willcox) writes:
| >it appears to be missing the first 2KB of each block read.  (I was using
| >a buffer size of 2MB as I recall).  
| 
| 	I am pretty sure this is a FAQ.  Do NOT use any buffering.
| 	just tar cf /dev/wt0 and cpio -oc > /dev/wt0.  There is a
| 	reason for this, but I can't find my notes.  It is slow, but works.
+---------------

Well, you don't have to use *no* buffering, just keep it under 64 KB (I think).
I have no problems with "cpio -B", which uses 5120-byte blocks, and it goes
a *lot* faster than "cpio" without the "-B". ("Tar" defaults to 10240, which
also works well.)


-Rob

-----
Rob Warnock, MS-9U/510		rpw3@sgi.com
Silicon Graphics, Inc.		(415)390-1673
2011 N. Shoreline Blvd.
Mountain View, CA  94043