From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Fri, 18 Apr 2003 00:13:04 +0000 Subject: Re: communicating with user login sessions 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 > If D-BUS proves useful for hardware events, I'd like to see a standard > set of events spec'd out, and used across all distributions. That way > projects such as GNOME and KDE can easily use those events without a > bunch of #ifdef SUSE #ifdef RED_HAT kind of stuff. For hotplug events, based on some work I did last year I'd propose the following "must carry": - argv: the positional parameters - envp: the named parameters (scoped by argv[1]) - timestamp That is, leave the format open and type-neutral ... agents interpreting those events may translate them to less generic events. Just having those three things suffices to hold a useful hotplug event log, suitable for later replay, and keeps the event data usefully flexible. There would of course be non-hotplug events, but nailing that much down would let people experiment with simple solutions like having /sbin/hotplug forward the event through D-Bus ... - DB ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ 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