• 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: "Imran" <email@hidden>
  • Date: Fri, 25 Feb 2005 11:35:53 +0530

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=email@hidden
[mailto:darwin-kernel-bounces+sayyad.asif=email@hidden]
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 	email@hidden

http://developer.apple.com/technicalsupport

 _______________________________________________
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: Garth Cummings <email@hidden>
References: 
 >Re: Multiple IOMedia objects creation in Filter Scheme Driver (From: Garth Cummings <email@hidden>)

  • Prev by Date: Re: Multiple IOMedia objects creation in Filter Scheme Driver
  • Next by Date: Matching and loading filter scheme driver other than "Content Hint" property
  • 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