From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 14 18:31:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5031106566B for ; Thu, 14 Aug 2008 18:31:55 +0000 (UTC) (envelope-from V.Rezkii@sam-solutions.net) Received: from c71.sam-solutions.net (c71.sam-solutions.net [217.21.35.67]) by mx1.freebsd.org (Postfix) with ESMTP id 473298FC17 for ; Thu, 14 Aug 2008 18:31:55 +0000 (UTC) (envelope-from V.Rezkii@sam-solutions.net) Received: from pc636.sam-solutions.net ([192.168.117.46]) by c71.sam-solutions.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Aug 2008 21:19:45 +0300 From: Uladzislau Rezki Organization: SS To: freebsd-hackers@freebsd.org Date: Thu, 14 Aug 2008 21:20:12 +0300 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808142120.13609.v.rezkii@sam-solutions.net> X-OriginalArrivalTime: 14 Aug 2008 18:19:45.0778 (UTC) FILETIME=[5468ED20:01C8FE3A] Subject: textvp_fullpath X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 18:31:55 -0000 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. Thanks. -- Uladzislau Rezki