Re: Accessing to a file from a KEXT
Re: Accessing to a file from a KEXT
- Subject: Re: Accessing to a file from a KEXT
- From: Mike Smith <email@hidden>
- Date: Tue, 3 May 2005 13:07:11 -0700
On May 2, 2005, at 8:00 AM, Pezeshgi, Shahriar wrote:
Hi there
I have a problem with our USB DSL Modem driver under new OS X (Tiger).
Basically we need to read a configuration file during driver
startup ( I
know that it's a BAD idea to access to file system from a KEXT but
this
is the way our driver has been developed originally under OS X 10.1).
This driver is working properly under different version of OS X
(10.1.x,
10.2.x and 10.3.x) but it's not working under Tiger, it's complaining
about missing symbols like _vn_open, _vn_close and etc. I think new
vnode api doesn't support old functions under Tiger (am I right?),
so I
looked at KPI->vnode documents but there is no descriptions for
functions like vnode_open, vnode_close and etc. Where can I find more
details about vnode api?
As John noted in his followup, this approach is strongly frowned upon.
Since you need to rev your driver for Tiger anyway, consider taking a
little extra time to do it the right way...
= Mike
_______________________________________________
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