Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!brl-adm!brl-smoke!smoke!es!Robert_Toxen%anvil.UUCP@harvard.harvard.edu From: Robert_Toxen%anvil.UUCP@harvard.harvard.edu Newsgroups: net.unix-wizards Subject: Re: tar on vms Message-ID: <1282@brl-smoke.ARPA> Date: Tue, 25-Feb-86 19:48:52 EST Article-I.D.: brl-smok.1282 Posted: Tue Feb 25 19:48:52 1986 Date-Received: Sat, 1-Mar-86 23:17:02 EST Sender: news@brl-smoke.ARPA Lines: 43 > From: Simon Kenyon > Newsgroups: net.sources > Subject: wanted:program to read tar tapes on a vms machine > Message-Id: <970@mcvax.UUCP> > > [for the line eater] > does anyone have the above mentioned beastie > preferably not in c, but i can translate if thats all there is > i have a sun workstation which i want to get stuff onto from mag tape > the only tape drive i have is on a vax running vms > Simon Kenyon > The National Software Centre > 28 Enterprise Centre > Pearse Street > Dublin 2 > IRELAND > +353-1-716255 > ...!seismo!mcvax!einode!simon There is a simpler solution: 1. Determine the tar blocking factor of your tape (the -b flag). This is probably 20 or 1. 2. Multiply the blocking factor by 512 (the size of a tar block). The result is the number of bytes per tape block. With a blocking factor of 20 this is 10240 bytes/block. 3. Use some VMS utility to read the tape into a disk file. 4. Copy the disk file to the Sun (UNIX) system by any means. If you can transfer the de-tar'ed file, I assume you can transfer the raw file (which is a binary file). 5. On the Sun use tar to extract the data, using the -f flag to specify the raw file transfered from VMS. If the raw file is "foo", do: tar -xvf foo Using uucp or ethernet to transfer tar files is also popular. Bob Toxen Stratus {ucbvax!ihnp4,harvard}!anvil