site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Feb 20, 2008, at 12:06 PM, darwin-dev-request@lists.apple.com wrote: In my app I'm using: kernResult = IOServiceAddMatchingNotification( notificationObject, kIOFirstMatchNotification, IOServiceMatching(kIOUSBDeviceClassName), callback, handler, &mediaIteratorAdded ); = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... At the application level you should be talking to DiskArbitration, not I/O Kit directly. You are probably holding up matching for the device (possibly due to your callback not returning or returning the wrong status). Any assumption you make about the state of the system (mounted filesystems, etc.) when this callback fires isn't going to be valid. This email sent to site_archiver@lists.apple.com