textvp_fullpath
Roman Divacky
rdivacky at freebsd.org
Thu Aug 14 19:00:02 UTC 2008
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
More information about the freebsd-hackers
mailing list