• 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
Notification for mount / unmount
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification for mount / unmount


  • Subject: Notification for mount / unmount
  • From: Martin Hairer <email@hidden>
  • Date: Sat, 20 Aug 2005 21:58:55 +0100

Hi, I would like my app to be notified when a volume is mounted / unmounted.
It turns out that it works fine (on Tiger at least) if I listen for distributed notifications
of type "com.apple.sidebarlists.503.systemitems". However, this doesn't seem to
be documented anywhere. So my questions are:


1. Is this the proper way of doing this?

2. Do I have some guarantee that this will work in future versions of MacOS
despide the fact that it doesn't seem to be documented?


3. If not, what is the proper way?

Regards,

Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Notification for mount / unmount
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: using bless to change boot device [yet again]
  • Next by Date: Re: What To Do w/ ADC Ref Library Update
  • Previous by thread: Re: using bless to change boot device [yet again]
  • Next by thread: Re: Notification for mount / unmount
  • Index(es):
    • Date
    • Thread