linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Volume Daemon for automatic device mounting
Date: Tue, 14 Oct 2003 00:07:30 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-106609253304697@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-106537768414745@msgid-missing>

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

      reply	other threads:[~2003-10-14  0:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-05 18:13 Volume Daemon for automatic device mounting reflex
2003-10-14  0:07 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-106609253304697@msgid-missing \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).