Re: Getting vnode from filename?
Re: Getting vnode from filename?
- Subject: Re: Getting vnode from filename?
- From: Michael Smith <email@hidden>
- Date: Thu, 21 Jun 2007 00:47:43 -0700
On Jun 20, 2007, at 8:09 PM, Greg wrote:
Is there a way to get a vnode_t object from a filename?
In what context?
There seems to be zero documentation on this, and the header file
(vnode.h) is not very helpful. There is an interesting sounding
function called "vnode_lookup" that I found in there, but I can't
find any documentation on how to use it.
You can find many examples of its use throughout the xnu sources.
The reason I want to do this is because I'd like to deal with
vnodes instead of filenames so that I can handle symbolic links to
the file as well.
I'm not sure how one would help you with the other. In what context
are you trying to do this? What do you mean by "handle symbolic links"?
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden