gvdl@apple.com writes:
Sean,
I think you are trying to store persistent data in your KEXT's
Properties. I'm afraid that isn't gonna work. The main issue is
that the drive bundle itself is intended to be immutable. In fact
Apple intends to sign every bundle that is loaded into the kernel and
if you modify the bundle then your signature will fail and we will
either refuse to load you or leave it up to the user.
In a DTS call, someone suggested this method of reconfiguring the driver. When is this signature created? We must (do to some device pecularities) reload the driver during this configuration change. Will this workaround the signature problem?
Now IOKit doesn't have a persistent data base as yet. We are
exploring a number of ideas but none of them are ready for prime time
yet.
We are recommending that you write a tool that you deliver a
StartupItem that can configure your driver at start time.
StartupItem? Can you give me a brief description?
See the archive on this subject as it is a hardy perennial topic on
darwin.
Godfrey
I don't know which conference these questions are best suited. Please
tell me if this message needs to be redirected. I'm using the Core
Foundation Bundle services to obtain the information property list for a
driver bundle using the routine CFBundleGetInfoDictionary. However this
routine returns an immutable reference and I need to modify this
information property list. How can I modify the information property
list
for the bundle? Also since the bundle is a driver and will reside in
/System/Library/Extensions, will I have a file access issue? The
property
list is being modified from a system preference pane in user space. How
do I get the necessary access?