home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / admin / 7206 < prev    next >
Encoding:
Text File  |  1993-01-23  |  3.7 KB  |  78 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!cs.utexas.edu!swrinde!news.dell.com!lupus.dell.com!mikepb
  3. From: mikepb@lupus.dell.com (Michael P. Brininstool)
  4. Subject: Re: Unknown filearchive
  5. Message-ID: <1993Jan22.202246.10967@raid.dell.com>
  6. Sender: news@raid.dell.com (Net News Admin)
  7. Nntp-Posting-Host: lupus.dell.com
  8. Reply-To: mikepb@lupus.dell.com
  9. Organization: Dell UNIX Support
  10. References: <C0JznI.LsF@news.cso.uiuc.edu> <1993Jan11.215236.15693@raid.dell.com> <813@hineni.sbi.com>
  11. Date: Fri, 22 Jan 1993 20:22:46 GMT
  12. Lines: 64
  13.  
  14. In article <813@hineni.sbi.com>, coe@hineni.sbi.com (Chet Edelman) writes:
  15. >>In article <1993Jan11.215236.15693@raid.dell.com> mikepb@lupus.dell.com writes:
  16. >>>In article <C0JznI.LsF@news.cso.uiuc.edu>, lam@mrcnext.cso.uiuc.edu (Ken Lam) writes:
  17. >>>>> I have received an unknown file archive.  I can't seem to figure out what
  18. >>>>>program was used to create it.  the magic number says that it is ascii text.
  19. >>>>> 
  20. >>>>>below is the first couple of lines.
  21. >>>>> 
  22. >>>>>0707010001aa74000041ff0000000000000003000000042a2d5aa600000000ffffffff00000001ffffffff0003a64d0000000400000000sdk0707010001aa75000081a40000000000000003000000012a2d558b00002c80ffffffff00000001ffffffff0003ff100000000b00000000sdk/pkgmap: 1 18266
  23. >>>>>1 d none etc 0775 root sys
  24. >>>>>1 d none etc/init.d 0775 root sys
  25. >>>>>1 f none etc/init.d/nuc 0775 root sys 1294 32156 706492066
  26. >>>>>1 i pkginfo 139 10505 707614087
  27. >>>>>1 i postinstall 1320 44140 707610280
  28. >>>>>1 i postremove 623 52180 707613495
  29. >>>>> 
  30. >>>>> Any ideas?
  31. >>>
  32. >>>The pkginfo, postinstall, postremove stuff looks like a pkgadd from SVR4.
  33. >>>I assume the 070701001aa74..... is an octal dump of the file.  070701 is
  34. >>>octal at the beginning of a file looks like a cpio archive, kinda.
  35. >>>I looks like a pkgadd stream format for a pkg called "nuc".
  36. >>
  37. >>The leading line is a cpio(1) header.  A datastream for pkg stuff
  38. >>begins with "# PaCkAgE DaTaStReAm" followed by the info section.  (At
  39. >>least around here they do.)  Hope this helps...
  40.  
  41. I just ran strings on a pkgstream and got this:
  42.  
  43. # PaCkAgE DaTaStReAm
  44. ModemSet 1 29
  45. # end of header
  46. 0707010000300f000081a40000000000000001000000012a410de90000014d0000004a0000000100
  47. 000000000000000000001100000000ModemSet/pkginfo
  48. .....
  49. [stuff deleted]
  50.  
  51. Here is with hd:
  52.  
  53. 0000    23 20 50 61 43 6b 41 67  45 20 44 61 54 61 53 74   # PaCkAgE DaTaSt
  54. 0010    52 65 41 6d 0a 4d 6f 64  65 6d 53 65 74 20 31 20   ReAm.ModemSet 1
  55. 0020    32 39 0a 23 20 65 6e 64  20 6f 66 20 68 65 61 64   29.# end of head
  56. 0030    65 72 0a 00 00 00 00 00  00 00 00 00 00 00 00 00   er..............
  57. 0040    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
  58. *
  59. 0200    30 37 30 37 30 31 30 30  30 30 33 30 30 66 30 30   0707010000300f00
  60. 0210    30 30 38 31 61 34 30 30  30 30 30 30 30 30 30 30   0081a40000000000
  61. 0220    30 30 30 30 30 31 30 30  30 30 30 30 30 31 32 61   000001000000012a
  62. 0230    34 31 30 64 65 39 30 30  30 30 30 31 34 64 30 30   410de90000014d00
  63. 0240    30 30 30 30 34 61 30 30  30 30 30 30 30 31 30 30   00004a0000000100
  64. 0250    30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30   0000000000000000
  65. 0260    30 30 30 30 31 31 30 30  30 30 30 30 30 30 4d 6f   00001100000000Mo
  66. 0270    64 65 6d 53 65 74 2f 70  6b 67 69 6e 66 6f 00 00   demSet/pkginfo..
  67. [stuff deleted]
  68.  
  69. I agree that this guy's stuff looks like a cpio.  It also looks like what
  70. is cpio'ed is possibly a pkgadd pkg stream.  It could be that the first
  71. record is missing and he has a partial pkg stream.
  72.  
  73. Is this output he gave us the output from strings?  What does od -xc give?
  74.  
  75. ----------------------------------------------------------------------------|
  76. | Michael P. Brininstool   DELL UNIX PRODUCT SUPPORT  mikepb@lupus.dell.com |
  77. |----------------------------------------------------------------------------
  78.