From owner-freebsd-bugs Sat Dec 14 04:16:16 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA24254 for bugs-outgoing; Sat, 14 Dec 1996 04:16:16 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id EAA24249 for ; Sat, 14 Dec 1996 04:16:12 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id XAA03949; Sat, 14 Dec 1996 23:14:56 +1100 Date: Sat, 14 Dec 1996 23:14:56 +1100 From: Bruce Evans Message-Id: <199612141214.XAA03949@godzilla.zeta.org.au> To: bde@zeta.org.au, peter@spinner.DIALix.COM Subject: Re: cvs vs mount points Cc: bugs@freebsd.org Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> cvs usually begins by lstat'ing all parent directories up to "/" and >> then all entries in "/". There are usually a lot of mount points in >> "/" and lstat'ing them can take a long time if their vnodes are not >> cached. E.g., my IDE cdrom on /b takes a couple of seconds to start >> up. >> >> Bruce > >It's just doing a getcwd() library call I think.. So it is. I was confused by only checking what /bin/pwd did when I was chdir'ed to tmp. getcwd() has a special case for mount points and my /tmp is not a mount point, but my /usr is, so starting up applications that call getcwd() when I'm chdir'ed to /usr/src is often slow. Bruce