home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / admin / 22 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.9 KB  |  51 lines

  1. Newsgroups: comp.sys.sgi.admin
  2. Path: sparky!uunet!pipex!demon!visigoth.demon.co.uk!pettsj
  3. From: James Petts <pettsj@visigoth.demon.co.uk>
  4. Subject: Re: tar format ended-ness
  5. Message-ID: <BzCM6z.9G2@demon.co.uk>
  6. X-Xxmessage-Id: <A754B9B73A010855@visigoth.demon.co.uk>
  7. X-Xxdate: Wed, 16 Dec 92 10:47:19 GMT
  8. Sender: news@demon.co.uk
  9. Nntp-Posting-Host: visigoth.demon.co.uk
  10. Organization: No Affiliation
  11. X-Useragent: Nuntius v1.1.1d13
  12. References: <1992Dec16.052940.5406@gallant.apple.com>
  13. Date: Wed, 16 Dec 1992 10:52:09 GMT
  14. Lines: 35
  15.  
  16. In article <1992Dec16.052940.5406@gallant.apple.com> Ray Kiddy,
  17. kiddyr@gallant.apple.com writes:
  18. >i just received a tar tape from someone using Irix and tar2local (sp?). 
  19. >i am trying to read it on a Sun4, but i am getting directory checksum
  20. >errors. when i do an od -c on the device, it looks like when it wants
  21. >the file name to be abcd (what it was to the Irix user), i see it as
  22. >badc, etc, for the length of the tape. given that tar is supposed to be
  23. >pretty platform-independent, why would this be occuring?
  24. >
  25. >any e-mail would be appreciated, or punt, er, post it.
  26.  
  27. You will need to use 'dd' to swap the bytes.
  28.  
  29. Try:
  30.  
  31. dd if=/dev/tape of=<diskfile> conv=swab
  32.  
  33. This will swap the order of the bytes, and give you as file which tar 
  34. will read.
  35.  
  36. Alternatively, if you want to bypass the disk tar file try
  37.  
  38. dd if=/dev/tape conv=swab |tar xvf -
  39.  
  40. James Petts
  41.  
  42. #@# CAUTION - READ THIS .sig AT YOUR OWN RISK! @#@#@#@#@#@#@#@#@#@#@#@#@#@
  43. @                                                 # NOTE: VISIGOTH HAS NO #
  44. # Q. Wenn ist das Nunstueck git und Slotermeyer? @ CONNECTION WITH ANY   @
  45. @ A. Ja!... Beiherhund das Oder die Flipperwaldt # OTHER SITE IN THE     #
  46. #    gersput!                                     @ DOMAIN DEMON.CO.UK    @
  47. @                                                 #                       #
  48. #@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
  49. @  pettsj@visigoth.demon.co.uk (preferred), pettsj@cix.compulink.co.uk   #
  50. #@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
  51.