From owner-freebsd-bugs Sat Dec 14 04:00:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA23801 for bugs-outgoing; Sat, 14 Dec 1996 04:00:10 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id EAA23795 for ; Sat, 14 Dec 1996 04:00:08 -0800 (PST) Received: from irz401.inf.tu-dresden.de (irz401.inf.tu-dresden.de [141.76.1.12]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id EAA22177 for ; Sat, 14 Dec 1996 04:00:06 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz401.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA03274; Sat, 14 Dec 1996 12:58:04 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA02972; Sat, 14 Dec 1996 12:56:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id MAA25600; Sat, 14 Dec 1996 12:54:24 +0100 (MET) From: J Wunsch Message-Id: <199612141154.MAA25600@uriah.heep.sax.de> Subject: Re: cvs vs mount points To: peter@spinner.DIALix.COM (Peter Wemm) Date: Sat, 14 Dec 1996 12:54:24 +0100 (MET) Cc: bde@zeta.org.au, bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612141142.TAA16572@spinner.DIALix.COM> from Peter Wemm at "Dec 14, 96 07:42:29 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Peter Wemm wrote: > > 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. > It's just doing a getcwd() library call I think.. Yep, this feature of getcwd() is very annoying. It's always a good idea to mount slow devices or NFS servers into a second-level directory, like /tmp_mnt. :) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)