Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2004 22:43:15 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Ryan Beasley <ryanb@goddamnbastard.org>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/55993: getcwd() breaks on unionfs mounted directories
Message-ID:  <20040425054314.GA38865@VARK.homeunix.com>
In-Reply-To: <200401280120.i0S1KJjJ062645@freefall.freebsd.org>
References:  <200401280120.i0S1KJjJ062645@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040425054314.GA38865>