From owner-freebsd-current Thu Sep 6 23:53: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id F350937B403; Thu, 6 Sep 2001 23:53:06 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f876r6M49056; Thu, 6 Sep 2001 23:53:06 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 9AF8D380C; Thu, 6 Sep 2001 23:53:06 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "John W. De Boskey" Cc: Current List Subject: Re: __getcwd & errno 20 (Not a directory) vfs_cache.c In-Reply-To: <20010906211532.A52687@FreeBSD.org> Date: Thu, 06 Sep 2001 23:53:06 -0700 From: Peter Wemm Message-Id: <20010907065306.9AF8D380C@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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