From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 24 22:43:32 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 980D816A4CE for ; Sat, 24 Apr 2004 22:43:32 -0700 (PDT) Received: from VARK.homeunix.com (adsl-68-121-150-252.dsl.pltn13.pacbell.net [68.121.150.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50EA643D1F for ; Sat, 24 Apr 2004 22:43:32 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.10/8.12.10) with ESMTP id i3P5hFee038971; Sat, 24 Apr 2004 22:43:15 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.10/8.12.10/Submit) id i3P5hFJU038970; Sat, 24 Apr 2004 22:43:15 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sat, 24 Apr 2004 22:43:15 -0700 From: David Schultz To: Ryan Beasley Message-ID: <20040425054314.GA38865@VARK.homeunix.com> Mail-Followup-To: Ryan Beasley , freebsd-bugs@FreeBSD.ORG References: <200401280120.i0S1KJjJ062645@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401280120.i0S1KJjJ062645@freefall.freebsd.org> cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/55993: getcwd() breaks on unionfs mounted directories X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 05:43:32 -0000 On Tue, Jan 27, 2004, Ryan Beasley wrote: > Use this link instead: > http://docs.freebsd.org/cgi/mid.cgi?1015415443.3157.2.camel This patch is probably hiding the problem because getcwd() is using the cached lookup routine. However, it seems to introduce a cache consistency problem, because changes to the underlying filesystem do not invalidate the appropriate cache entries in the union layer. (The email you referenced also mentions that the idea was taken from nullfs, but I don't see it there.)