Resolved tar-to-a-pipe problem ("tar: blocksize=1")

Malcolm Carlock malc at equinox.unr.edu
Tue Apr 2 17:37:23 AEST 1991


It looks as if tar commands of the form

  tar cf - files | rsh somewhere dd [ibs=???] [obs=???] of=/dev/sometape

just can't be made to work the way you'd expect (i.e., being able to
read the tape later using a normal tar command.)  GNU tar was recommended
as the solution, and indeed does the job very neatly:

  gtar -cf somewhere:/dev/sometape files

Piece o' cake, and highly recommended.  Beats me why dd doesn't seem to
behave more reasonably, though.

GNU tar can be ftp'd from prep.ai.mit.edu (18.71.0.38).

Malcolm L. Carlock                      Internet:  malc at unr.edu
                                        UUCP:      unr!malc
                                        BITNET:    malc at equinox



More information about the Comp.unix.questions mailing list