File Path Tracking

Daniel Hazelbaker daniel at highdesertchurch.com
Mon Oct 15 12:10:09 PDT 2007


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).  I have run into a problem where when the files  
are stored on a network volume my program can occasionally no longer  
find the files because the path might have changed (i.e. "/Volumes/ 
Data" becomes "/Volumes/Data 1"). This is particularly a problem with  
Fast User Switching as "Data" might be mounted a number of times.

How might I deal with this type of issue?

Daniel


More information about the MacOSX-dev mailing list