Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: David Rehring <email@hidden>
- Date: Mon, 15 Apr 2002 18:23:43 -0700
On 4/15/02 3:55 PM, Charles Srstka at email@hidden wrote:
>
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.
I've always found that for OS 9, the primary behavior was to track the
'global file id' [I forget the proper term], and then if that wasn't
available, to go with the path.
Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
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.