From mboxrd@z Thu Jan 1 00:00:00 1970 From: 520047054719-0001@t-online.de (Oliver Neukum) Date: Tue, 05 Feb 2002 08:56:03 +0000 Subject: Re: [Xpert]Re: User-level Tasks in Hotplug Scripts? 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 Tuesday 05 February 2002 02:54, David Brownell wrote: > > >>Jim, if the user is logged in so is the rest of the user interface. Why > > >>not have a monitoring program (like console) that watches the hotplug > > >>events and invokes corresponding configuration program ? > > Actually one of the goals of the hotplug framework is to avoid > requirements to have Yet Another Monitoring Daemon hanging > around wasting resources ... likewise, to avoid needing to start the > apropriate magic program before plugging in devices. You could have the demon started by inetd. [..] > > And what would the problem be with using an event distribution mechanism > > that would require the listener to have certain privileges? > > Another of the goals classic end-user "usability". Remember that > the original problem was how to fire up an unprivileged tool ... not > all hotplug events imply any need for privilege. Users initiate hotplug > events with just physical access privileges. When the device software > has already been set up, additional privilege shouldn't be needed. Not all users are equal in this regard. Eg. a FibreChannel network might be quite extensive. Regards Oliver _______________________________________________ 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