Copying fits tapes

Geraint Lewis gfl at mail.ast.cam.ac.uk
Mon Jul 22 17:37:04 EDT 1996


In article <4su9h7$qdm at lyra.csx.cam.ac.uk>, gfl at mail.ast.cam.ac.uk (Geraint Lewis) writes:
|> 
     Original message deleted:
|>

 I received a number of responses on my tape copying problem - 
 The problem was to do with EOFs being sent down a pipe, so 
 if files are copied one at a time, they are written, and then
 can be re-read, properly:-

 eg:

 $ set n = 1
 $ while ( $n <= 1000 )
 $   dd if=/dev/nrst0 ibs=2880 | rsh alpha dd of=/dev/nrmt0h obs=2880
 $   @ n++
 $ end

 works a treat: Note that the n in the tape drive name is needed to 
 ensure that it does not rewind between read/writes.

 Many thanks to "Peter G. Ford" <pgf at space.mit.edu> who supplied the above
                 Peter Bunclark <psb at ast.cam.ac.uk>
                 Preben Grosbol <pgrosbol at eso.org>
                 Jim Lewis      <jrl at ast.cam.ac.uk>

 for your help




More information about the fitsbits mailing list