cynthia@cod.nosc.mil (Cynthia G. Anderson) (06/14/89)
my problem is two-fold. question 1: for the apollo folks-- I'm trying to get the tar command to read a cartridge tape of mine. the tape was made using wbak and has a single file on it. to get a listing I type: (in c-shell) tar tbf 1 /dev/rct8 what I get is an error " tar: directory checksum error (0 != 10459) ". I don't understand exactly what I'm doing wrong? any ideas? question 2: for both apollo and sun people-- I want to be able to write a cartridge tape so that either the a sun-3 or 4 OR an apollo DN 3010 can read it. I've been told it's possible using tar and some sort of particular format forced on the tape; but I haven't found anyone here who really knows how to do it. help? thanks so much for any and all suggestions... cynthia anderson cynthia@cod.nosc.mil Naval Oceans Systems Center San Diego, CA 92152 (619) 553 - 2338 No Disclaimer Necessary...
hart@decwrl.dec.com (Howard Hart) (06/21/89)
In article <3849@kalliope.rice.edu> cynthia@cod.nosc.mil (Cynthia G. Anderson) writes: > >I want to be able to write a cartridge tape so that either the a sun-3 or >4 OR an apollo DN 3010 can read it. I've been told it's possible using >tar and some sort of particular format forced on the tape; but I haven't >found anyone here who really knows how to do it. help? > Piece of cake, 1) From Apollo side: rwmt -w <filename/directory name> -unlab -f 1 -dev ct -rl <record length (i.e. 80 bytes)> -bl <blocksize> 2) From Sun side: dd if=/dev/nrst8 of= <output filename> ibs= <blocksize above> cbs= <record length specified above> conv=unblock I choose 80 bytes for the record length since thats the usual size of ASCII text files. A good number for blocksize is 512. P.S. - if I didn't make it clear, record length and blocksize is entered as an integer number only, don't use "80 bytes" for either system. Howard C. Hart UUCP:{sun!sunncal,pyramid}!leadsv!laic!nova!hart Lockheed Missiles and Space Co. Orgn 59-53, Bldg 593 Ph: (408) 743-2253 or -7353 Sunnyvale, CA 94086
hart@decwrl.dec.com (Howard C. Hart) (06/22/89)
In article <3849@kalliope.rice.edu> cynthia@cod.nosc.mil (Cynthia G. Anderson) writes: >I want to be able to write a cartridge tape so that either the a sun-3 or >4 OR an apollo DN 3010 can read it. I've been told it's possible using then I replied with a bunch of instructions on how to transfer tape data between Sun's and Apollos, with one major goof. Blocksizes should be evenly divisable by record lengths, so instead of my bad example using 80 byte record length and 512 byte block sizes it should be 80 byte record length and 80 byte block size. Thought I'd get this out before major flames descend. Sorry. Howard C. Hart UUCP:{sun!sunncal,pyramid}!leadsv!laic!nova!hart Lockheed Missiles and Space Co. Orgn 59-53, Bldg 593 Ph: (408) 743-2253 or -7353 Sunnyvale, CA 94086