Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Jim Correia <email@hidden>
- Date: Mon, 15 Apr 2002 18:29:20 -0400
On Monday, April 15, 2002, at 06:24 PM, Ondra Cada wrote:
On Tuesday, April 16, 2002, at 12:17 , Jim Correia wrote:
- aliases (just like hardlinks) can't be folder-relative
This is inaccurate. One can make a relative alias. There is no UI in
the Finder for doing so, but it *is* possible programatically.
I stand corrected, then. But, well, it kinda goes very strictly against
what all those Carbon experts taught me:
Aliases don't reference path(*); they use a global file ID (something
like inode) instead: how they could be path-relative?
That is the default mode of operation. But you can also create a
relative alias. This is necessary when building application bundles that
will work on Mac OS 9 (where symlinks don't exist) for instance.
http://developer.apple.com/technotes/tn/tn1188.html
discusses it.
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.