• 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: Thu, 24 Feb 2005 10:52:54 -0800

Hi Imran,

On Feb 23, 2005, at 12:33 AM, Imran wrote:

Hi Garth,
Please find the output of 'ioreg -lw O' after loading my filter scheme
driver for Snap1 and Snap2 partitions with ContentHint as
"MACOSX_MyContent".

<snip>

This is behaving correctly. If I strip out the properties it'll be easier to see.

| | | | | +-o CNSi R2500:A Media <class IOMedia, ...>
| | | | | |
| | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | | +-o IOApplePartitionScheme <class IOApplePartitionScheme, ...>
| | | | | |
| | | | | +-o Apple@1 <class IOMedia, ...>
| | | | | | |
| | | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | | +-o Snap1@2 <class IOMedia, ...>
| | | | | | |
| | | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | | | |
| | | | | | +-o com_MySoftwareCompany_driver_MyFilterScheme <class com_MySoftwareCompany_driver_MyFilterScheme, ...>
| | | | | | |
| | | | | | +-o MACOSX_MyContent 1@1 <class IOMedia, ...>
| | | | | | |
| | | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | | |
| | | | | +-o Snap2@3 <class IOMedia, ...>
| | | | | |
| | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | | |
| | | | | +-o com_MySoftwareCompany_driver_MyFilterScheme <class com_MySoftwareCompany_driver_MyFilterScheme, ...>
| | | | | |
| | | | | +-o MACOSX_MyContent 1@1 <class IOMedia, ...>
| | | | | |
| | | | | +-o IOMediaBSDClient <class IOMediaBSDClient, ...>
| | | | |


Both the Snap1 and Snap2 partitions have the same chain of objects attached:

IOMedia (Snap*) > IOMediaBSDClient > com_MySoftwareCompany_driver_MyFilterScheme > IOMedia (MACOSX_MyContent) > IOMediaBSDClient.

The child media objects you published are at /dev/disk2s2s1 and /dev/disk2s3s1 respectively (the "BSD Name" property in the IOMedia objects).

Is this clearer now?

--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

  • Follow-Ups:
    • RE: Multiple IOMedia objects creation in Filter Scheme Driver
      • From: "Imran" <email@hidden>
References: 
 >Re: Multiple IOMedia objects creation in Filter Scheme Driver (From: "Imran" <email@hidden>)

  • Prev by Date: Re: shm_open and mmap: Invalid argument?
  • Next by Date: RE: Multiple IOMedia objects creation in Filter Scheme Driver
  • Previous by thread: Re: Multiple IOMedia objects creation in Filter Scheme Driver
  • Next by thread: RE: Multiple IOMedia objects creation in Filter Scheme Driver
  • Index(es):
    • Date
    • Thread