File Path Tracking
Daniel Hazelbaker
daniel at highdesertchurch.com
Tue Oct 16 12:15:49 PDT 2007
Summary: Thanks all for the input. It is not optimal but it sounds
like storing the alias data as well as the unix path is my solution.
If the unix path does not work (most of the time it will) then
attempt to use the alias functions to determine what the new path is.
Regards,
Daniel
On Oct 16, 2007, at 12:43 AM, Markus Hitter wrote:
>
> Am 16.10.2007 um 01:26 schrieb Daniel Hazelbaker:
>
>> As I understand you, this scenario would work since all are
>> network instead of local. If I try to mix local / network then I
>> will run into issues.
>
> Right.
>
>> Is there a way I can store the "alias data" (i.e. see
>> com.apple.recentitems.plist) and then have the alias "system"
>> translate the alias back into a regular unix path which I can open?
>
> Like Uli mentioned, the Alias mechanism should include such
> functionality already. I'm not sure, since I've never used Aliases
> programmatically.
>
>> In this recent items example all it stores is the alias data, so
>> it seems like if two people have an alias to the same file, one
>> local another via network, and they try to open the same file from
>> the alias in their recent list they would come up with some kind
>> of hanged state, but I have never heard of that happening?
>
> Probably, because Apple recommends to work either all local or all
> network. The kind of setup to put a few Homes on each of the
> participating computers while mounting them remotely on the other
> machines is often seen in Unix-only networks but very rarely with
> Mac OS X.
>
>
> Markus
>
> - - - - - - - - - - - - - - - - - - -
> Dipl. Ing. Markus Hitter
> http://www.jump-ing.de/
>
>
>
>
>
More information about the MacOSX-dev
mailing list