home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16561 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.2 KB

  1. Xref: sparky comp.unix.sysv386:16561 comp.unix.sys5.r4:532
  2. Newsgroups: comp.unix.sysv386,comp.unix.sys5.r4
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!wupost!emory!gatech!hubcap!ncrcae!jutland.ColumbiaSC.NCR.COM!bam
  4. From: bam@jutland.ColumbiaSC.NCR.COM (Bo Muldbak)
  5. Subject: Re: tar problems
  6. Message-ID: <1992Nov17.125259.1778@ncrcae.ColumbiaSC.NCR.COM>
  7. Nntp-Posting-Host: jutland.columbiasc.ncr.com
  8. Reply-To: Bo.Muldbak@ColumbiaSC.NCR.COM
  9. Organization: NCR Corporation, MCPD Columbia SC.
  10. References: <1992Nov12.164004.9850@netnews.whoi.edu>
  11. Date: Tue, 17 Nov 92 17:52:59 GMT
  12. Lines: 45
  13.  
  14. In article <1992Nov12.164004.9850@netnews.whoi.edu>, gie@charon.er.usgs.gov
  15. (Gerald I. Evenden) writes:
  16. |> I am having problems with tar files created under Dell SVR4-i2.2 not
  17. |> un-tar-ing properly on other systems.  More specifically, directories
  18.  
  19. With those "other" systems, you must mean BSD like systems.
  20. The problem with BSD like systems are, that they do not use the "type" field
  21. in the tar headers. A directory is type "5", but this is ignored by BSD.
  22. They look for only the '/' suffix. The tar command on SVR4 has had a LOT
  23. of changes put into it to make it read all kind of weird archives from Xenix,
  24. BSD, multi-floppy archives. All issues resolved by teaching SVR4 to
  25. understand
  26. the whole world. This last issue I think should be resolved by BSD tar.
  27. A BSD tar archive has filetype '0' (impossible) for all files/directories.
  28.  
  29.     tar compatibilies:
  30.  
  31.     AIX    ->     BSD    OK, Since a AIX tar has only files, no 
  32.                 directories. (No problem of no '/' suffix)
  33.  
  34.     BSD    ->    AIX    OK, AIX understands that '/' suffix really
  35.                 means filetype '5'.
  36.     
  37.     SVR4    ->    BSD    Problem, since SVR4 archives has directories
  38.                 and are not using the silly '/' suffix.
  39.                 Instead we are using the tar filetype field.
  40.  
  41.     BSD    ->    SVR4    OK, since SVR4 tar has been fixed to take
  42.                 special care of BSD archives. Like above
  43.                 for AIX.
  44.  
  45.  
  46.     Regards
  47.         Bo Muldbak
  48.  
  49.  
  50. -- 
  51. //// Bo Asbjorn Muldbak             // Email:  Bo.Muldbak@ColumbiaSC.NCR.COM
  52. /
  53. /// Support & Deployment           // Phone :  +1 (803) 791-6871           
  54. //
  55. // NCR Corporation, MCPD-Columbia // Telefax:  +1 (803) 739-7371          
  56. ///
  57. / Opinions stated are my own. They do not represent my employer or others
  58. ////
  59.