🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.admin
Article #18

Re: tar format ended-ness

#18
From: 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   #
#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
Technical Details
Message-ID: <BzCM6z.9G2@demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!visigoth.demon.co.uk!pettsj
References: <1992Dec16.052940.5406@gallant.apple.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!visigoth.demon.co.uk!pettsj
From: James Petts <pettsj@visigoth.demon.co.uk>
Subject: Re: tar format ended-ness
Message-ID: <BzCM6z.9G2@demon.co.uk>
X-Xxmessage-Id: <A754B9B73A010855@visigoth.demon.co.uk>
X-Xxdate: Wed, 16 Dec 92 10:47:19 GMT
Sender: news@demon.co.uk
Nntp-Posting-Host: visigoth.demon.co.uk
Organization: No Affiliation
X-Useragent: Nuntius v1.1.1d13
References: <1992Dec16.052940.5406@gallant.apple.com>
Date: Wed, 16 Dec 1992 10:52:09 GMT
Lines: 35