Date: Thu, 06 Sep 2001 23:53:06 -0700 From: Peter Wemm <peter@wemm.org> To: "John W. De Boskey" <jwd@FreeBSD.ORG> Cc: Current List <freebsd-current@FreeBSD.ORG> Subject: Re: __getcwd & errno 20 (Not a directory) vfs_cache.c Message-ID: <20010907065306.9AF8D380C@overcee.netplex.com.au> In-Reply-To: <20010906211532.A52687@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"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 - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010907065306.9AF8D380C>