From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 14 Oct 2003 00:07:30 +0000 Subject: Re: Volume Daemon for automatic device mounting Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Oct 05, 2003 at 08:13:01PM +0200, reflex wrote: > > The reason why I write to this list: > It would be cool if there was some sort of subscription service > in hotplug where my program could subscribe and would be informed > when a new (storage) device was inserted. That way it would know > instantly what device it had to scan. Otherwise I will have to > call it from one of the shellscripts and then rescan ALL devices > probably causing nasty errormessages in syslog. You can drop in a link to your program into /etc/hotplug.d/default that will cause your program to get called for every hotplug event. Or you can use D-BUS to receive all hotplug events (someone is going to write a hotplug call -> D-BUS message program one of these days...) Hope this helps, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel