Readdir in kext
Readdir in kext
- Subject: Readdir in kext
- From: Alexander Dimitrov <email@hidden>
- Date: Thu, 26 Mar 2009 11:25:40 +0200
Hi all,
I have to execute some fs calls to a particular filesystem in my kext, but I couldn't find an interface to do all of them. At the moment I'm trying to execute a readdir on a vnode.
I can obtain a vnode from vnode_lookup, but I couldn't find a way to read the entries in the directory. I have looked at the union fs implementation for hints, but it seems to call VNOP_READDIR which as far as I can see is a private symbol and cannot be called through the KPI. Also its prototype is removed from Snow Leopard kernel headers, which really tells me that this is not the right way.
I know that there could be a better solution in user space, but at the moment it's not an option.
Any suggestions are appreciated.
Thank you very much and have a great time coding,
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden