Re: Multiple IOMedia objects creation in Filter Scheme Driver
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi Mekhala, On Feb 21, 2005, at 5:33 AM, Mekhala wrote: Thanks, --gc __________________________________________________________________ Garth Cummings Apple Developer Technical Support gcummings@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com Hi, I have 3 partitions created on a disk and have written a filter scheme driver, which matches on ContentHint property of these partitions and successfully loads my driver. But after loading the driver, it is exposing only one IOMedia object instead of 3 IOMedia objects for all 3 partitions. For this I have created one media object in the start() routine in my filter scheme driver as mentioned in SampleFilterSchemeDriver code in Mass_Storage.pdf If I want to expose all the partitions as IOMedia objects through my filter scheme driver then How will i create IOMedia objects for all partitions and how will I iterate through all the IOMedia objects created by my driver from user space application. If your driver is set up properly you should have a separate instance of the driver loaded for each partition, and each instance will publish a new IOMedia object. Can you please run "ioreg -lw 0" and post the part of the output where it shows your three partitions? That will help us understand what behavior you're seeing. http://developer.apple.com/technicalsupport smime.p7s
participants (1)
-
Garth Cummings