• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Readdir in kext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Problems with dirent and nfs
  • Next by Date: Hard Links on HFS+
  • Previous by thread: Re: Problems with dirent and nfs
  • Next by thread: Hard Links on HFS+
  • Index(es):
    • Date
    • Thread