Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 14:07:40 +0200
From:      Nikolay Pavlov <quetzal@zone3000.net>
To:        freebsd-hackers@freebsd.org
Subject:   vn_fullpath question.
Message-ID:  <20061127120740.GA12728@zone3000.net>

next in thread | raw e-mail | index | archive | help
Hi. I am trying to extend fstat utility, so that it can use name cache
to recreate full path at least for text. I have found vn_fullpath
function usefull in this case. I am newbe in C, so it could be stupid
question, but could someone explaine what is "struct thread *td" in
argument list of this function. Is this the thread which opened the
vnode initially or it is the thread which searches for the vnode? i.e.
fstat thread. In any case how i can get this *td structure?

-- 
======================================================================  
- Best regards, Nikolay Pavlov. <<<-----------------------------------    
======================================================================  




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