symbolic links get corrupted by system process?
Greetings Folks,
This was posted in another forum, so I'm reposting two messages here:
I am having a problem with symbolic links getting corrupted. I have a new Mac Pro running 10.7.3. I have defined symbolic links
/Users/walker/G2S -> /Volumes/L2A/G2S [this is pointing to a different partition on the same JBOD RAID]
/home -> /Users
The second link was created after unmounting /home and removing it from the /etc/auto_master file.
Both symbolic links worked for several days. But then for some reason, without a reboot, the links became corrupted:
> pwd
/Users/walker
> ls -al G2S
lrwxr-xr-x 1 walker staff 16 Mar 24 03:08 G2S -> X??G???Gҡ?G???G
> cd G2S
G2S: No such file or directory.
Same nonsensical definition for /home link. I repeat, this did not happen after a reboot. It first happened on /home. I thought that might have been related to a new OS handling of the "/home" label. So I deleted the /home link and did a clean reboot. The G2S link was created after that reboot, not before.
After the above two problems happened, I created a new symbolic link
/Users/walker/G2S2 -> /Volumes/L2A/G2S
I then did not use this new symbolic link in any of my processing scripts. A few weeks went by, then this link somehow got corrupted too:
lrwxr-xr-x 1 walker staff 16 Apr 2 17:22 G2S2 -> 꺄G???Gĺ?Gú?G
Does anyone here know how symbolic links are managed on a Mac (any process that controls their linking?), or have any information to help me figure out how to fix this? For example, could it be due to bad RAM? I have 32 GB.
Thank you,
Kris Walker
Mac Pro, Mac OS X (10.7.3)