Re: Restrictions in kexts
Re: Restrictions in kexts
- Subject: Re: Restrictions in kexts
- From: Quinn <email@hidden>
- Date: Mon, 12 Jul 2004 14:07:02 +0100
At 13:54 -0700 6/7/04, Krishna Monian wrote:
Is there some other equivalent method of doing what
the 3 functions do in a kext?
I've answered your original question in another email. However, this
is a slightly different question which is worth considering
independently. The Core Services File Manager, which implements
these routines, is implemented on top of the BSD API. So, in
principle, it should be possible to do this work inside the kernel.
However, it's not possible to do this in a supported fashion because
the mechanism used by Core Services File Manager is private (that is,
it's not guaranteed to work that way in the future).
There are two mechanism at work here.
1. For volfs volumes, Core Services File Manager works in terms of
volfs. You can learn more about volfs in the Q&A.
<
http://developer.apple.com/qa/qa2001/qa1113.html>
However, the take home message of this Q&A is that the volfs file
system is not something you should be using directly. It's fine to
use it indirectly via CoreServices File Manager, but using it
directly will get you into compatibility trouble.
2. For Posix volumes, Core Services File Manager remembers the parent
of each node as it traverses the node. That's not something that you
can emulate in your KEXT.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.