• 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
Monitoring volume mounts was Re: Anyone here written a kExt???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monitoring volume mounts was Re: Anyone here written a kExt???


  • Subject: Monitoring volume mounts was Re: Anyone here written a kExt???
  • From: Deirdre Saoirse Moen <email@hidden>
  • Date: Fri, 15 Feb 2002 09:56:24 -0800

At 8:13 AM -0600 2/14/02, Eric Peyton wrote:
Um, you can't do that from a kext really (well at least not easily). Volumes mount and unmount in user space. You can write programs that do that in user space (NSWorkspace provides notifications of volume mounts and unmounts) - is that what you are looking for?

I've been meaning to ask this for a while.

So if one wanted, say, upon the mounting of a specific volume (USB keychain drive with a known volume name in this case), to run a specific program, what would be the simplest way of going about it?

In other words, I know that there's mechanisms in place already for iTunes and iPhoto, but how does a mere mortal accomplish the same thing? There aren't daemon cocoa apps running around, at least not ones that ps is telling me about.
--
_Deirdre * http://deirdre.net "The evening news only spoils
the morning paper." -- Anne Lamott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Monitoring volume mounts was Re: Anyone here written a kExt???
      • From: Eric Peyton <email@hidden>
References: 
 >Re: Anyone here written a kExt??? (From: Eric Peyton <email@hidden>)

  • Prev by Date: Security bug in OS X / Cocoa
  • Next by Date: Re: new to the list - localization
  • Previous by thread: Re: Anyone here written a kExt???
  • Next by thread: Re: Monitoring volume mounts was Re: Anyone here written a kExt???
  • Index(es):
    • Date
    • Thread