Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!NUSVM.BITNET!GBOPOLY1 From: GBOPOLY1@NUSVM.BITNET (fclim) Newsgroups: comp.sys.apollo Subject: Apollo-Sun cartridge tape reading thru tar? Message-ID: <8906150532.AA02968@umix.cc.umich.edu> Date: 15 Jun 89 05:28:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 63 X-Unparsable-Date: Thu, 15 Jun 89 13:08:50 SST >Date: 14 Jun 89 15:57:32 GMT >From: cynthia@cod.nosc.mil (Cynthia G. Anderson) >Organization: Naval Ocean Systems Center, San Diego >Subject: Apollo-Sun cartridge tape reading thru tar? >Message-Id: <1559@cod.NOSC.MIL> > > 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 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; > > cynthia anderson > cynthia@cod.nosc.mil > Naval Oceans Systems Center > San Diego, CA 92152 > (619) 553 - 2338 Tapes (whether cartridge or reel) made using /com/wbak can only be restored with /com/rbak. If you want a listing, use "rbak -dev c -f 1 -index -all". Wbak/Rbak are proprietary to Apollo. To transfer files via tapes to other Unix boxes, use tar. "-c" to made and "-x" to restore. See the man pages for the options. The rest below refers to cartridge tape. Ignore for magtapes. When you reading or writing a cartridge tape on an Apollo, do a % /com/rbak -dev c -rewind or % mt -f /dev/rct8 rewind first before any other operations. You also need to specify a blocking factor of 1 when using tar. You may write 2 or more tar files on a cartridge tape on an Apollo. (You need to tell tar to use /dev/rct12 for writing more than 1 tar file). There's no problem when you are reading back on a Sun. However, on Apollo, you can't read the 2nd, 3rd, etc tar files on an Apollo directly with tar. To read subsequent files, use % /com/rwmt -dev c -r -asc -unlab -f -rl 512 -bf 1 -rf f % tar -xf or % dd if=/dev/rct12 | tar -xf - # repeat this for all files on tape There's is a question of QIC24 that I can't answer. This is available on Sun cartridge tape drive. If your Sun has this, then probably you can't do file transfers between Apollo and Sun. Hope this helps you to read your tapes. fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu computer centre singapore polytechnic dover road singapore 0513.