Re: Monitoring volume mounts was Re: Anyone here written a kExt???
Re: Monitoring volume mounts was Re: Anyone here written a kExt???
- Subject: Re: Monitoring volume mounts was Re: Anyone here written a kExt???
- From: Eric Peyton <email@hidden>
- Date: Fri, 15 Feb 2002 13:21:44 -0600
On Friday, February 15, 2002, at 01:11 PM, Deirdre Saoirse Moen wrote:
At 12:54 PM -0600 2/15/02, Eric Peyton wrote:
Yes, but it seems silly to do that when there's apparently no need to
run a daemon, as evidenced by the fact that other applications aren't.
Well, in actuality they are. Finder is the "daemon" that is launching
iTunes on a CD insert or DVD Player on a DVD Insert. Etc. I believe
that image capture and printers both use configd daemon plugins to
launch their UI applications.
Is there any public access to that? I notice there's no man page or
anything for configd and, of course, config is something else entirely.
configd is not the correct place for you to try to insert your daemon
(for the most part anyway). I was just illustrating that is what some
portions of OS X currently use.
So, as you see, there is a need to run the daemon and the daemons
(though in one case it is an application) are running.
Well, what I meant is no need to run a *separate* daemon as clearly
something has to be monitoring the mounting process and that, by
definition, is a daemon.
You will need to run a separate daemon to get the functionality that you
desire. there is no place in OS X that currently provides an open and
clear location for you to try to "stick" your code.
Eric
In fact, I've already long since coded the obvious solution using
NSWorkspace, but I was looking for something without that overhead.
-- _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.
_______________________________________________
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.