RE: Multiple IOMedia objects creation in Filter Scheme Driver
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: AcUawMKNR/bMxW8oRLyYaU6qlnfIFwAPjzzQ Hi Garth, Thanks a lot Garth for your help. But the problem I am facing is not getting solved. Diskutil shows the IOMedia objects as disk2s2s1 disk2s3s1 respectively, but this IOMedia objects are not getting mounted after making file system on it. It may be that we are missing something you can point out Thanks in Advance Imran -----Original Message----- From: darwin-kernel-bounces+sayyad.asif=spsoftindia.com@lists.apple.com [mailto:darwin-kernel-bounces+sayyad.asif=spsoftindia.com@lists.apple.com] On Behalf Of Garth Cummings Sent: Friday, February 25, 2005 12:23 AM To: Imran Cc: darwinKernel Apple List Subject: Re: Multiple IOMedia objects creation in Filter Scheme Driver 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 gcummings@apple.com http://developer.apple.com/technicalsupport _______________________________________________ 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
participants (1)
-
Imran