Date: Thu, 14 Aug 2008 20:43:29 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: Uladzislau Rezki <v.rezkii@sam-solutions.net> Cc: freebsd-hackers@freebsd.org Subject: Re: textvp_fullpath Message-ID: <20080814184329.GA60497@freebsd.org> In-Reply-To: <200808142120.13609.v.rezkii@sam-solutions.net> References: <200808142120.13609.v.rezkii@sam-solutions.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 14, 2008 at 09:20:12PM +0300, Uladzislau Rezki wrote: > Hello folks, > > I'm using "textvp_fullpath" function to get full path from vnode up to root dir. > The problem is that, sometimes it works, sometimes no. > > I know that "textvp_fullpath" goes through the cache of the vnode and > try to build full path. > > Are there any other ways to get full path? > I haven't had any ideas yet, that is why I am asking you. no... the vnode->full_path lookup is unreliable by definition in FreeBSD... what exactly are you trying to acomplish? I believe there might be other way to do whatever you want to do.. roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080814184329.GA60497>