Re: vn_fullpath question.
- From: Nikolay Pavlov <quetzal@xxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 17:37:12 +0200
On Monday, 27 November 2006 at 18:20:03 +0300, Ruslan Ermilov wrote:
On Mon, Nov 27, 2006 at 02:07:40PM +0200, Nikolay Pavlov wrote:
Hi. I am trying to extend fstat utility, so that it can use name cacheThere's a vn_fullpath(9) manpage which should answer this.
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?
Yes i know about this man, but still not sure how to get *td structure.
Cheers,
--
Ruslan Ermilov
ru@xxxxxxxxxxx
FreeBSD committer
--
======================================================================
- Best regards, Nikolay Pavlov. <<<-----------------------------------
======================================================================
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: vn_fullpath question.
- From: Ivan Voras
- Re: vn_fullpath question.
- From: Ruslan Ermilov
- Re: vn_fullpath question.
- References:
- vn_fullpath question.
- From: Nikolay Pavlov
- Re: vn_fullpath question.
- From: Ruslan Ermilov
- vn_fullpath question.
- Prev by Date: Re: vn_fullpath question.
- Next by Date: Re: vn_fullpath question.
- Previous by thread: Re: vn_fullpath question.
- Next by thread: Re: vn_fullpath question.
- Index(es):
Relevant Pages
- Re: vn_fullpath question.
... 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? ... (freebsd-hackers) - Re: vn_fullpath question.
... function usefull in this case. ... I am newbe in C, so it could be stupid
... vnode initially or it is the thread which searches for the vnode? ... (freebsd-hackers) - Re: vn_fullpath question.
... function usefull in this case. ... so it could be stupid ... but
could someone explaine what is "struct thread *td" in ... vnode initially or it
is the thread which searches for the vnode? ... (freebsd-hackers)