• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple IOMedia objects creation in Filter Scheme Driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple IOMedia objects creation in Filter Scheme Driver


  • Subject: Re: Multiple IOMedia objects creation in Filter Scheme Driver
  • From: Garth Cummings <email@hidden>
  • Date: Mon, 21 Feb 2005 10:57:54 -0800

Hi Mekhala,

On Feb 21, 2005, at 5:33 AM, Mekhala wrote:

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.

Thanks,
--gc
__________________________________________________________________
Garth Cummings
Apple Developer Technical Support 	email@hidden

http://developer.apple.com/technicalsupport

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Multiple IOMedia objects creation in Filter Scheme Driver (From: "Mekhala" <email@hidden>)

  • Prev by Date: Re: shm_open and mmap: Invalid argument? [SOLVED]
  • Next by Date: Change Content hint of single partition
  • Previous by thread: Multiple IOMedia objects creation in Filter Scheme Driver
  • Next by thread: Re: Multiple IOMedia objects creation in Filter Scheme Driver
  • Index(es):
    • Date
    • Thread