🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.admin
3 messages
3 total messages Started by Ray Kiddy Wed, 16 Dec 1992 05:29
tar format ended-ness
#17
Author: Ray Kiddy
Date: Wed, 16 Dec 1992 05:29
12 lines
932 bytes
hello -

i just received a tar tape from someone using Irix and tar2local (sp?). 
i am trying to read it on a Sun4, but i am getting directory checksum
errors. when i do an od -c on the device, it looks like when it wants
the file name to be abcd (what it was to the Irix user), i see it as
badc, etc, for the length of the tape. given that tar is supposed to be
pretty platform-independent, why would this be occuring?

any e-mail would be appreciated, or punt, er, post it.

thanx - ray, ray@ganymede.apple.com
Re: tar format ended-ness
#18
Author: James Petts
Date: Wed, 16 Dec 1992 10:52
35 lines
2019 bytes
In article <1992Dec16.052940.5406@gallant.apple.com> Ray Kiddy,
kiddyr@gallant.apple.com writes:
>i just received a tar tape from someone using Irix and tar2local (sp?). 
>i am trying to read it on a Sun4, but i am getting directory checksum
>errors. when i do an od -c on the device, it looks like when it wants
>the file name to be abcd (what it was to the Irix user), i see it as
>badc, etc, for the length of the tape. given that tar is supposed to be
>pretty platform-independent, why would this be occuring?
>
>any e-mail would be appreciated, or punt, er, post it.

You will need to use 'dd' to swap the bytes.

Try:

dd if=/dev/tape of=<diskfile> conv=swab

This will swap the order of the bytes, and give you as file which tar 
will read.

Alternatively, if you want to bypass the disk tar file try

dd if=/dev/tape conv=swab |tar xvf -

James Petts

#@# CAUTION - READ THIS .sig AT YOUR OWN RISK! @#@#@#@#@#@#@#@#@#@#@#@#@#@
@												 # NOTE: VISIGOTH HAS NO #
# Q. Wenn ist das Nunstueck git und Slotermeyer? @ CONNECTION WITH ANY   @
@ A. Ja!... Beiherhund das Oder die Flipperwaldt # OTHER SITE IN THE     #
#    gersput!									 @ DOMAIN DEMON.CO.UK    @
@												 #                       #
#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
@  pettsj@visigoth.demon.co.uk (preferred), pettsj@cix.compulink.co.uk   #
#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
Re: tar format ended-ness
#28
Author: Dave Olson
Date: Thu, 17 Dec 1992 06:22
16 lines
1429 bytes
In <1992Dec16.052940.5406@gallant.apple.com> kiddyr@gallant.apple.com (Ray Kiddy) writes:
| i just received a tar tape from someone using Irix and tar2local (sp?). 
| i am trying to read it on a Sun4, but i am getting directory checksum
| errors. when i do an od -c on the device, it looks like when it wants
| the file name to be abcd (what it was to the Irix user), i see it as
| badc, etc, for the length of the tape. given that tar is supposed to be
| pretty platform-independent, why would this be occuring?

Tell the folks on the IRIX machine to use /dev/tapens instead of /dev/tape
when creating the tapes for export.  There are long historical
reasons for this (software) byte swapping; see 'man tps' on IRIX systems
if you are interested.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads