File Path Tracking
Markus Hitter
mah at jump-ing.de
Mon Oct 15 14:58:23 PDT 2007
Am 15.10.2007 um 21:17 schrieb Uli Kusterer:
> Am 15.10.2007 um 21:10 schrieb Daniel Hazelbaker:
>> I have a program that keeps track of files by using the Unix Path
>> to the file (as that is what is used to open and work with the
>> files when the time comes).
>
> Check out Aliases, which can be used for this and are reliable.
Aliases don't work if you access the same file at the same path while
one of the accesses is local while the other is remote, like:
Machine 1:
/Users/me/MyFile
Machine 2:
mount_afp machine1:/Users /Users
/Users/me/MyFile
An Alias created on machine 2 will hang on machine 1.
I'm not aware of a reliable solution other than mounting shares at a
fixed local path, e.g. by an entry in /etc/fstab.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
More information about the MacOSX-dev
mailing list