Re: Multiple IOMedia objects creation in Filter Scheme Driver
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