• 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: Eduard de Jong <email@hidden>
  • Date: Wed, 10 Oct 2007 22:24:17 +0100

A BOM is not an archive, checksums is what archives do. Reading man ditto tells me that a bom can be used to selectively retrieve files from an archive. This strongly suggests it contains only a list of file names. If it contains any thing else it would be per file info that the archive it self would not store...

Maybe you can experiment...

cheers,


At 06:54 -0400 09-10-2007, Karan, Cem (Civ, ARL/CISD) wrote:
Can you point me to where you read this? Finlay Dobbie suggested
something similar to me earlier, but my concern was that there would be
file checksums, etc. stored in there.  Are you sure that only what you
have down below is actually put into a BOM archive?

Thanks,
Cem Karan

-----Original Message-----
From: Eduard de Jong [mailto:email@hidden]
Sent: Saturday, October 06, 2007 5:50 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: Xcode Users
Subject: Re: [OT] How to extract a BOM archive correctly?

You are right, the man pages are very thin on actual data on the format
of the file.

The way to make a bom file, which they suggest is to create a directory
structure with all names, owner id, group id and acsess bits set and
then feed that into mkbom. As i understand it, none of these files need
to be present with actual data to make a bom.

One aproach could be to use a shell script to parse the output of lsbom
to reconstruct the file system is specifies with empty files, apply your
modifications to the result and then get a modified bom with mkbom.


At 01:54 +0100 06-10-2007, Finlay Dobbie wrote:
On 05/10/2007, Karan, Cem (Civ, ARL/CISD) <email@hidden> wrote:
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.

There is no such specification, it is a private file format. You could always just parse the output of lsbom, which will give you what you need.

-- Finlay


--
Eduard
 	"E por se movo"


--
Eduard
 	"E por se movo"
_______________________________________________
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: "Karan, Cem (Civ, ARL/CISD)" <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: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: [OT] How to extract a BOM archive correctly? (From: "Finlay Dobbie" <email@hidden>)
 >Re: [OT] How to extract a BOM archive correctly? (From: Eduard de Jong <email@hidden>)
 >RE: [OT] How to extract a BOM archive correctly? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)

  • Prev by Date: Re: Subversion and Xcode integration.
  • Next by Date: Re: Subversion and Xcode integration.
  • 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