Re: Filtering disk vs. partitions
Re: Filtering disk vs. partitions
- Subject: Re: Filtering disk vs. partitions
- From: Eric Long <email@hidden>
- Date: Mon, 13 Aug 2007 14:29:58 -0700
- Thread-topic: Filtering disk vs. partitions
> Hmm... What's the matching dict in your Info.plist look like?
> Depending on your match, you may be filtering them out accidently/
> incidentally.
>
I believe this is where the problem lies, but I'm not clear on the solution.
It looks like this:
<key>MyCompany_Filter</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.myCompany.driver.myFilter</string>
<key>IOClass</key>
<string>com_myCompany_driver_myFilter</string>
<key>IOMatchCategory</key>
<string>IOStorage</string>
<key>IOProviderClass</key>
<string>IOMedia</string>
</dict>
I figured this would be wide open.
>
> -I'd suggest replacing your OSBoolean cast with an OSDynamicCast. A
> little extra robustness is always good in the kernel...
>
Good point. It's unlikely to be an issue here, but nonetheless, a better
choice.
Eric
_______________________________________________
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