home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.21 / text0130.txt < prev    next >
Encoding:
Text File  |  1990-10-26  |  1.4 KB  |  38 lines

  1. Submitted-by: fredriks@ihlpm.att.com
  2.  
  3. I am trying to upgrade Mark Colburns PAX utility to be 1003.2/D10
  4. conformant(and to run under MINIX). In working with it I have run 
  5. accross an inconsistancy (at least an ambiguity) in the PAX 
  6. description.
  7.  
  8. 1003.2 says that "The archives created by PAX can be concatinated to
  9. combine multiple volumes on a single tape or file."
  10.  
  11. Thats simple enough. 1003.1 says that "At the end of the archive file
  12. are two blocks filled with binary zeroes, interpreted as an end-of-
  13. archive indicator"
  14.  
  15. Well, if I concatinate two archive files using cat(1), I have two
  16. end-of-archive markers in my archive! That causes problems. Right now
  17. PAX(Mark Colburns) quits after it finds a EOA marker, 
  18. so that it validates quote 1.
  19. Also, PAX right now doesn't append right. It basically does what
  20. quote 1 says, conseptually concatinating two archives, but since it
  21. quits once it finds the EOA marker, you can never access the appended
  22. stuff.
  23.  
  24. One solution is to ignore the EOA marker and read until you get a 
  25.  physical EOF. If that is done, how are you supposed to differentiate
  26. between multiple volumes. The only solution I see is that you assume
  27. that multiple volumes do NOT have a EOA marker before EOF of volume X.
  28.  
  29. As you can see, having multiple EOA in the archive file, is a MESS!
  30.  
  31. Lars
  32. L.Fredriksen@att.com
  33.  
  34. PS! This has absolutely NOTHING to do with AT&T
  35.  
  36. Volume-Number: Volume 21, Number 130
  37.  
  38.