Re: Two questions related to a mystery
Re: Two questions related to a mystery
- Subject: Re: Two questions related to a mystery
- From: Peter Bierman <email@hidden>
- Date: Tue, 13 Feb 2007 11:26:05 -0800
At 11:24 PM +0100 2/10/07, Stéphane Sudre wrote:
1. Is there a way to extract the ressource part
of a file (the ._filename file) from a pax
archive without having it be transformed into a
Resource Fork?
I'm using the following call: sudo pax -r -pe -f Archive.pax ./._filename.
My fear is that this is Filesystem related and
that even logging into >console would not do any
good.
Dot-underscore files are "magic". Some versions
of Mac OS X have kernel support for synthesizing
or recombining them. That means that you can't
always treat them like ordinary files.
2. Is there some magic incantation to have
resource fork being merged back to data fork
when you want to do the following thing:
Install "fileA" into /Applications/Test/ with:
- "fileA" having a Data Fork and a Resource Fork
- /Application/Test being set as the Default
Installation path and Test does not exist yet.
That is the bom file looks like this:
.
._fileA
fileA
If I try to do this with PackageMaker, it works fine.
If I try to do this with a Script involving
/Developer/Tools/SplitForks, it does not work.
When analysing the bom, only a difference with
the checksum of ._fileA can be seen (this is the
reason for question 1).
It might be related to the order you're
extracting or moving the files. See if you can
determine if the ._ file is being handled after
the data fork. I believe ditto has code to
reorder extraction to ensure the resource fork
doesn't come first.
-pmb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden