Re: Getting vnode from filename?
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com On Jun 20, 2007, at 8:09 PM, Greg wrote: In what context? You can find many examples of its use throughout the xnu sources. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Is there a way to get a vnode_t object from a filename? 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. 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"? This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith