Date: Sat, 14 Dec 1996 23:14:56 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, peter@spinner.DIALix.COM Cc: bugs@freebsd.org Subject: Re: cvs vs mount points Message-ID: <199612141214.XAA03949@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612141214.XAA03949>