Re: Embedded frameworks and hard links
Re: Embedded frameworks and hard links
- Subject: Re: Embedded frameworks and hard links
- From: "Stephen J. Butler" <email@hidden>
- Date: Thu, 25 Feb 2010 00:12:49 -0600
On Wed, Feb 24, 2010 at 10:58 PM, Ashley Clark <email@hidden> wrote:
> I've manually replaced the contents of the duplicate framework in the action with hard links to the other embedded framework and it works well but I'm wondering if there's some automated way to do this already that I'm missing.
There was a thread on Darwin Dev about directory hard links awhile
ago. An apple employee jumped in to say that:
"You're not supposed to notice that directory hard links are now
allowed (for Time Machine's exclusive use) so it's neither an error in
the documentation or an error in the function. The error is that
you're being too nosy. :-)"
Indeed, the man pages for ln and link(2) say it's not allowed. So
whatever route you go to solve this problem, don't hard link
directories. Beyond the normal problems with such things, I'd be very
suspicious that they copy/archive properly in all situations (which
would negate your space savings).
Either try what Sherm Pendley suggests, or maybe just use relative
symbolic links.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden