Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >Re: Filtering disk vs. partitions (From: Kevin Elliott <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.