开发者

creating a block device programmatically in mac os x using iokit framework

As i am a total noob to mac os x programming i am having some problems understanding this.I want to create a block device in mac os x leopard which would act as a normal drive in mac os x and after that i want to define the geometry of that device or drive according to a drive which i created during installation. As i am using xcode and want to do driver development so i am using iokit framework. Can anyone tell me which header files and API`s should i use to accomplish this task. Any help would be appreciated. Please help me!!! 开发者_C百科 Ironhide707.


You want the IOStorage subsystem of IOKit. The easiest way to get started is to create a filter scheme driver: http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/MassStorage/08_Media_Example/MS_Media_Example.html

The book "Mac OS X Internals" by Amit Singh also contains some info and an example on this (source available at http://osxbook.com/).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜