Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Charles Srstka <email@hidden>
- Date: Mon, 15 Apr 2002 17:55:05 -0500
On Monday, April 15, 2002, at 05: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?
(*) Actually they do, but only as a backdrop for case the primary means
of referencing does not work.
Hmm, it seems like the behavior has been changed in OS X, then. The
behavior in OS 9 was definitely to go by the path first, and use the
file ID if the file at that path did not exist.
_______________________________________________
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.