home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / ncr / 545 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.6 KB

  1. Xref: sparky comp.sys.ncr:545 comp.unix.questions:14761
  2. Newsgroups: comp.sys.ncr,comp.unix.questions
  3. Path: sparky!uunet!mcsun!sun4nl!echelon!kees
  4. From: kees@echelon.uucp (Kees Hendrikse)
  5. Subject: Re: NCR Unix to SCO Unix Tar incompatability question
  6. Organization: Echelon Consultancy, Enschede, The Netherlands
  7. Date: Thu, 17 Dec 1992 09:33:23 GMT
  8. Message-ID: <BzED7p.6q1@echelon.uucp>
  9. References: <1992Dec15.035339.24343@jpradley.jpr.com> <1992Dec15.182031.16597@unislc.uucp> <1992Dec16.183827.24752@donner.SanDiego.NCR.COM>
  10. Lines: 24
  11.  
  12. In <1992Dec16.183827.24752@donner.SanDiego.NCR.COM> David Lord writes:
  13.  
  14. > First off, the original poster didn't say what hardware he was running
  15. > on and that makes a difference. Presumably it is a Tower, but some
  16. > models of Tower require byte-swapping, while others do not. Unfortunately
  17. > I don't recall which is which, however if byte-swapping were the problem
  18. > I would expect tar to complain that the tape wasn't in tar format. 
  19.  
  20. No, if tar tries to read a byte-swapped file, it complains with the
  21. message: "tape block size error", even when the file is a regular file:
  22.  
  23.     tar -cvf - some files | dd conv=swab of=/tmp/testfile
  24.     tar -tvf /tmp/testfile
  25.  
  26. Tar complains as if it were a tape... (Remember, tar means tape-archiver :-))
  27.  
  28. Anyway, I always had to swap bytes when reading tapes from SCO on a
  29. Tower or the other way round.
  30.  
  31. -- 
  32. Kees Hendrikse                                | email: kees@echelon.uucp
  33.                                               |
  34. ECHELON consultancy and software development  | phone: +31 (0)53 836 585
  35. PO Box 545, 7500AM Enschede, The Netherlands  | fax:   +31 (0)53 337 415
  36.