Does anyone have any idea why an application would receive a NSWorkspaceDidMountNotification notification for a volume that was already mounted when the application started?

I know this is happening on more than one 10.4 system - don't know about 10.5
The act of attempting to observe this seems to prevent it (heisenbug)

The physical drive is partitioned into Macintosh HD and Data
The application starts, uses information from the Data volume during initialization, and then gets a notification that /Volumes/Data was mounted.

The system is configured to automatically log in the user and my application is a Login Item.

Based on reading "System Startup Programming Topics" it occurred to me that possibly the Finder and my application are launching simultaneously and that the notification is originating in the Finder when it notices the second volume. Relaunching the Finder does not produce another notification.

I can work around this but would be more comfortable knowing why.

thanks
bk


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to