Monitoring volume mounts was Re: Anyone here written a kExt???
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.