Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!att!laidbak!obdient!simon!steve From: steve@simon.UUCP (Steven E. Piette) Newsgroups: comp.sys.apollo Subject: Re: Apollo-Sun cartridge tape reading thru tar? Summary: Here's how to make tar tapes Keywords: sun, apollo, tar, cartridge tape Message-ID: <339@simon.UUCP> Date: 19 Jun 89 02:21:16 GMT References: <1559@cod.nosc.mil> Distribution: usa Organization: ACT, Inc., Dank Dark Cave, Algonquin, IL. Lines: 55 In article <1559@cod.nosc.mil>, cynthia@cod.NOSC.MIL (Cynthia G. Anderson) writes: > 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. As mentioned by another poster; tar and rbak/wbak are incompatible. > 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. First, the procedure varies withg the version of system software your using on the Apollo's. SR9 versions are more limiting than SR10 versions. Second, please note that prior to the SR10 version of tar objects written to and later restored to tape using tar will lose their file typing information, in many cases making tar a poor choise for archiving. (Also WBAK and RBAK are much faster than TAR on an Apollo machine). So, How To information: Under SR9 and earler, you must use a blocking factor of 1 on the non-Apollo machines. From a Sun system use (Asumming your Sun has a 1.8 or later EPROM allowing QIC24 tape support. Call 1-800-USA-4SUN for free EPROM upgrade): mt -f /dev/rst8 -rewind # just to make sure your at BOT tar cfb /dev/rst8 1 files_to_backup # st8 is QIC24 format To read them into the Apollo: rbak -dev ct -rewind # just to make sure your at BOT tar cf /dev/rctX files_to_backup # replace X with approp number SR10 or later supports blocking factors. You can also use the option to include type information (recomended - you never know when this may be the only tape left with your stuff on it). On non-Apollo systems this creates 0 length files you can delete afterword that the Apollo saves the type info into. I have used this procedure to move data from XENIX and Sun's to/from Apollo's. Beware there are problems with SGI's (byteswapping) and HP's (incompatable tape formats) when using cartridge tapes. > > cynthia anderson > cynthia@cod.nosc.mil > Naval Oceans Systems Center I hope this helps. -- Steven E. Piette Applied Computer Technology Inc. UUCP: {smarthost}!simon!steve 1750 Riverwood Drive INET: steve@simon.CHI.IL.US or spiette@SUN.COM Algonquin, IL 60102 -------------------------------------------------------------------------------