[comp.sys.sgi] utility for reading sun tar tapes

layhe@dopey.rc.arizona.edu (Robert Layhe) (11/06/90)

recently someone posted a program/utility to read sun tar tapes.  could
that be reposted or emailed to me directly.

thanks

--
Robert W. Layhe     | Internet: layhe@rcnext1.rc.arizona.edu, layhe@arizona.edu
CCIT/Computer Ctr.  | UUCP: ..{seismo!noao,cmcl2,ihnp4}!arizona!amethyst!layhe
Univ. of Arizona    | Bitnet: layhe@arizrvax 
Tucson, AZ  85721   | Phone: +1 602 621-2284

jim@baroque.Stanford.EDU (James Helman) (11/06/90)

SGI 1/4" tapes are byte swapped wrt other vendors.  I believe this is
an historical artifact.  Something to do with the byte order of the
Multibus(?) on their old machines.

You can read Sun tar tapes using the "f /dev/tapens" option with tar,
e.g. "tar xvf /dev/tapens ."

On our machines, we actually made /dev/nrtape and /dev/tape point to
the non-swapped devices, i.e. /dev/nrtapens and /dev/tapens.  It
seemed rather silly to keep swapping bytes back and forth in software
to keep an anachronism which confused users transferring data between
Suns and 4Ds.  I believe that SGI's installation procedures go
straight to the /dev/mt/tpsXXXXX files, so such a change only affects
commands such as tar(1) and bru(1) which use /dev/nrtape and
/dev/tape.  It works for us anyway.

Jim Helman
Department of Applied Physics			Durand 012
Stanford University				FAX: (415) 725-3377
(jim@KAOS.stanford.edu) 			Work: (415) 723-9127

msc@ramoth.esd.sgi.com (Mark Callow) (11/07/90)

In article <381@organpipe.UUCP>, layhe@dopey.rc.arizona.edu (Robert Layhe) writes:
|> 
|> recently someone posted a program/utility to read sun tar tapes.  could
|> that be reposted or emailed to me directly.
|> 
No utility is needed beyond tar.

	tar xof /dev/tapens

will do the trick.
-- 
From the TARDIS of Mark Callow
msc@ramoth.sgi.com, ...{ames,decwrl}!sgi!msc
"There is much virtue in a window.  It is to a human being as a frame is to
a painting, as a proscenium to a play.  It strongly defines its content."