tar or cpio?

Lenny Tropiano lenny at icus.UUCP
Sat Feb 6 13:37:10 AEST 1988


In article <556 at gtx.com> al at gtx.UUCP (Al Filipski 839-0732) writes:
|> [... reply to a question on the POSIX standards of cpio or tar ...]
|>
|>I too would like to know if such information is available.  I once did
|>a cpio backup onto multiple floppies (AT&T 3B1), and when I tried to
|>restore,  I had a hard read error on one of the floppies, early on in
|>the sequence.  Luckily, I had the information elsewhere.  Would there
|>have been any way to bypass the bad floppy and continue the restore?
|>Where can one get a document describing cpio format?
|>
|>

What you need to get is a program that was posted to the net a while
back, it was called "afio".  I think it was in comp.sources.unix 
(check with your local archive site).  It was a program that acted just
like cpio, but nicely skipped bad records and jumped to next ASCii header 
record (as long as you used the "-c" option to cpio or afio) and continued
with that file.   This means if you have a bad floppy, you might loose
one file if there is some bad data.  This also allows for starting at backup
disk #50 is you like (any disk) and skip to the first good header.

Nice program!  Very useful, especially if you backup on floppy.  The
program has an option to compile it with -DCTC3B2 (for 3B2 cartridge tape).


						-Lenny
-- 
============================ US MAIL:   Lenny Tropiano, ICUS Computer Group
 IIIII   CCC   U   U   SSSS             PO Box 1
   I    C   C  U   U  S                 Islip Terrace, New York  11752
   I    C      U   U   SSS   PHONE:     (516) 968-8576 [H] (516) 582-5525 [W] 
   I    C   C  U   U      S  AT&T MAIL: ...attmail!icus!lenny  TELEX: 154232428
 IIIII   CCC    UUU   SSSS   UUCP:
============================    ...{uunet!godfre, harvard!talcott}!\
                   ...{ihnp4, boulder, mtune, bc-cis, ptsfa, sbcs}! >icus!lenny 
"Usenet the final frontier"        ...{cmcl2!phri, hoptoad}!dasys1!/



More information about the Comp.unix.questions mailing list