"John W. De Boskey" wrote:

>    The really annoying aspect to this is that it doesn't
> happen everytime, and happens more often when in a nfs
> mounted directory vs. a local directory.

Yes, this is expected due to __getcwd(2) being incomplete.

NFS expires the directory nodes after about 10 minutes.  This stops
__getcwd() working, and stops things like /proc/*/file from working.  (just
try executing /usr/local/bin/something where /usr/local is NFS mounted, and
wait for ~10 minutes.. /proc/pid/file will switch to:
  lr-xr-xr-x  1 test users   7 Sep  6 23:51 /proc/521/file@ -> unknown

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to