• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: [OT] How to extract a BOM archive correctly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [OT] How to extract a BOM archive correctly?


  • Subject: RE: [OT] How to extract a BOM archive correctly?
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Fri, 5 Oct 2007 12:59:25 -0400
  • Thread-topic: [OT] How to extract a BOM archive correctly?

I've noticed one problem with my replies in this thread; they are out of
sequence with others.  I'm in digest mode, so I'll either respond to
people that write me directly, or I'll respond when I get the digest.
If I don't seem to be responding to you, or if I seem to be responding
as if I didn't read a prior message, please understand that I am reading
all messages about this that I see; its just that if you send only to
the list, then I'll only respond when I get the digest.  Thank you.

I've read the man pages before, but they aren't specifications; that is,
if I write a tool that is designed to parse a BOM file, I need to know
what the different bytes are that it sees.  I can reverse engineer this,
but that can lead to errors that I would prefer to avoid.  The man pages
for bom, lsbom, and mkbom (at least on my machine, a fairly stock
10.4.10 machine) don't give enough information on this for me to write a
tool.  Basically, I'm looking for a spec like you'd find if you were
trying to create a new jpeg library; you need more than what help files
for your favorite jpeg viewer provide.  In the same way, I need more
than what the man/info pages provide.

Thanks,
Cem Karan

-----Original Message-----
From: Eduard de Jong [mailto:email@hidden]
Sent: Friday, October 05, 2007 9:21 AM
To: Karan, Cem (Civ, ARL/CISD)
Cc: Xcode Users
Subject: RE: [OT] How to extract a BOM archive correctly?

At 09:12 -0400 05-10-2007, Karan, Cem (Civ, ARL/CISD) wrote:
>Mmm, I see... well, is the .bom format completely specified anywhere?

man bom	tells you about it
lsbom		shows it content
mkbom		makes one from a directory

>Even if ditto can't extract anything, if I can write a tool that can
>modify the permissions for me, then that will work.
>
>This isn't as crazy as it sounds, there is a guy that is doing this via

>a hexeditor already:
>
>http://forums.macosxhints.com/archive/index.php/t-66174.html
>
>I would just like to do this properly, via a tool that knows the
format.
>
>Thanks,
>Cem Karan
>
>-----Original Message-----
>From: Fritz Anderson [mailto:email@hidden]
>Sent: Friday, October 05, 2007 8:40 AM
>To: Karan, Cem (Civ, ARL/CISD)
>Cc: Xcode Users
>Subject: Re: [OT] How to extract a BOM archive correctly?
>
>On 5 Oct 2007, at 6:46 AM, Karan, Cem (Civ, ARL/CISD) wrote:
>
>>  I just did, but... isn't Archive.bom the source archive?  If not,
>> then
>
>>  what is it asking for?  Can you give me an example of how to do the

>> extraction from something that already is in your own /Library/
>> Receipts directory?
>
>
>You can't. You are clinging to a forlorn hope.
>
>The "packages" in the Receipts directories have the same names as
>installer packages, but have been stripped of the Contents/
>Archive.pax.gz files, which contain the files that were installed.
>Archive.bom is still present, as a listing (or "receipt") of what was
>installed, but a listing is not the same thing as the actual files
>themselves. A .bom (bill-of-materials) file is _not_ an archive.
>
>Find an installer .pkg package and examine the contents; then compare
>it to the receipt of the same name. The very, very large Archive.pax.gz

>file is absent. Otherwise, it would not be practical to keep the
>receipt; imagine keeping the entire archive of every OS installation.
>

--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [OT] How to extract a BOM archive correctly?
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >Re: [OT] How to extract a BOM archive correctly? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: [OT] How to extract a BOM archive correctly? (From: Fritz Anderson <email@hidden>)
 >RE: [OT] How to extract a BOM archive correctly? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >RE: [OT] How to extract a BOM archive correctly? (From: Eduard de Jong <email@hidden>)

  • Prev by Date: Re: Organizing .h and .m files.
  • Next by Date: Re: Now, help plz w/ mult. defs. of sym. errs.
  • Previous by thread: RE: [OT] How to extract a BOM archive correctly?
  • Next by thread: Re: [OT] How to extract a BOM archive correctly?
  • Index(es):
    • Date
    • Thread