🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.apollo
Article #404

Forwarding posting from hoptoad.UUCP!gnu@cgl.ucsf.edu (John Gilmore)

#404
From: long-morrow
Date: Thu, 12 Mar 1987 15:05
33 lines
2022 bytes
    
    > I do not advise using 'tar | rsh dd' for backing up files on the Apollos.  I 
    > was warned that characters can be lost.  Sure enough when I went back and
    > tried to read some of my backup tapes, tar was very unhappy with me.  The
    > occurance of these errors is a function of the load on the TCP/IP network
    > when the backup is being done.
    
    The problem is that a block of data written to a network socket does not
    necessarily come out in the same size block.  This causes the tape to
    have a random assortment of block sizes, which tar is not fond of.
    
    When making a tape, you can fix this with:
    
    	tar cfb - 20 foo | rsh dd obs=20b of=/dev/tapewhatever
    
    the "obs=20b" says to reblock the output into 20*512 byte blocks.
    
    When trying to read a backup tape that was written without doing this
    right, you can probably read it with dd and reblock it, then pipe it
    to tar, e.g.:
    
    	dd obs=20b if=/dev/tapewhatever | tar tvfbB - 20
    
    I don't know if apollo's pipes also wipe out block sizes (like 4.2 pipes).
    If so, their tar should have the "reblock" option (B) that 4.2BSD
    tar does, which causes tar to keep reading until it has filled a whole
    block.  If apollo tar doesn't take the 'B' option, just leave it off.
    
    	John Gilmore
    
    
    
Technical Details
Message-ID: <8703121505.AA16693@yale-celray.YALE.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!YALE.ARPA!long-morrow

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!YALE.ARPA!long-morrow
From: long-morrow@YALE.ARPA.UUCP
Newsgroups: mod.computers.apollo
Subject: Forwarding posting from  hoptoad.UUCP!gnu@cgl.ucsf.edu (John Gilmore)
Message-ID: <8703121505.AA16693@yale-celray.YALE.ARPA>
Date: Thu, 12-Mar-87 10:05:09 EST
Article-I.D.: yale-cel.8703121505.AA16693
Posted: Thu Mar 12 10:05:09 1987
Date-Received: Fri, 13-Mar-87 06:31:32 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 33
Approved: apollo@yale-comix.arpa