🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mod.computers.apollo
1 messages
1 total messages Started by long-morrow Thu, 12 Mar 1987 15:05
Forwarding posting from hoptoad.UUCP!gnu@cgl.ucsf.edu (John Gilmore)
#404
Author: 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
    
    
    
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads