Re: Problem Calling namei
Re: Problem Calling namei
- Subject: Re: Problem Calling namei
- From: anubhav rakshit <email@hidden>
- Date: Tue, 29 Sep 2009 21:34:50 +0530
On Tue, Sep 29, 2009 at 7:47 PM, mominabrar
<email@hidden> wrote:
Hi,
I am trying to implement my filesystem specific ls (to give more file info specific to my fs)
The issue is my kernel seems to be missing the namei family of functions, namely:
int namei(struct nameidata *ndp);
void nameidone(struct nameidata *);
Obviously, also the header files lack definition for struct nameidata. (bsd/sys/namei.h)
Any pointers on why they are missing or how i could achieve the same functionality are appreciated.
#uname -a
Darwin macmini1 9.6.1 Darwin Kernel Version 9.6.1: Wed Dec 10 10:38:33 PST 2008; root:xnu-1228.9.75~3/RELEASE_I386 i386
Calling VNOP_LOOKUP in not an option, as all i have is a relative path name.
You can use vnode_lookup() to convert a pathname into vnode.
_______________________________________________
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