• 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
Unexpected NSWorkspaceDidMountNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unexpected NSWorkspaceDidMountNotification


  • Subject: Unexpected NSWorkspaceDidMountNotification
  • From: Buddy Kurz <email@hidden>
  • Date: Fri, 26 Jun 2009 11:45:16 -0700


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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Unexpected NSWorkspaceDidMountNotification
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: document specific "as-you-type" spell checking
  • Previous by thread: Re: Hiding a running application
  • Next by thread: Re: Unexpected NSWorkspaceDidMountNotification
  • Index(es):
    • Date
    • Thread