From owner-freebsd-hackers Fri Jul 16 4: 0: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dirac.th.physik.uni-bonn.de (dirac.th.physik.uni-bonn.de [131.220.161.119]) by hub.freebsd.org (Postfix) with ESMTP id 1796614C3E for ; Fri, 16 Jul 1999 04:00:01 -0700 (PDT) (envelope-from conrad@th.physik.uni-bonn.de) Received: from merlin.th.physik.uni-bonn.de (merlin.th.physik.uni-bonn.de [131.220.161.121]) by dirac.th.physik.uni-bonn.de (8.8.8/8.8.8) with SMTP id MAA06971 for ; Fri, 16 Jul 1999 12:59:48 +0200 (CEST) (envelope-from conrad@merlin.th.physik.uni-bonn.de) Received: (qmail 21762 invoked by uid 145); 16 Jul 1999 10:59:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Jul 1999 10:59:48 -0000 Date: Fri, 16 Jul 1999 12:59:48 +0200 (CEST) From: Jan Conrad To: Ian Dowse Cc: freebsd-hackers@freebsd.org Subject: Re: NFS problems due to getcwd/realpath In-Reply-To: <199907151645.aa25796@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Ian, thanks a lot for your answer! (I was searching the bug reports but didn't find bin/6658...). Are you really sure about the following? On Thu, 15 Jul 1999, Ian Dowse wrote: > This should no longer be an issue with FreeBSD 3.x, as the system normally > uses the new _getcwd syscall. The old code is still in getcwd.c, but is > only used if the syscall isn't present (e.g. if running a 3.x executable > on a 2.2 system). The CVS log for getcwd says: 1.11 Sun Sep 14 16:57:16 1997 UTC by phk Diffs to 1.10 Add __getcwd() syscall, and have getcwd() take a shot at it. If your kernel doesn't support __getcwd() or if __getcwd() cannot ^^^^^^^^^^^^^^^^^^^^ deliver because of cache expiry, it does the canonical thing. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So you say this never can happen? (The code of getcwd explicitly handles that case, at least as I understand it, and I can't tell from the kernel sources...) If so, one sould close my own bug report (kern/12609) Do you know whom sould I send an email to do that? Or is a followup enough? If not so, one should change the canonical part of getcwd as in your patch... best regards and thanks for the patch.. Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message