From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Tue, 06 Feb 2001 15:54:55 +0000 Subject: Re: Adding PCMCIA support to the kernel tree -- developers needed. 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 Dienstag, 6. Februar 2001 16:35, David Woodhouse wrote: > Oliver.Neukum@lrz.uni-muenchen.de said: > > You'd loose the defined order of events. The result wouldn't even be > > deterministic. > > There is no defined order of events in the current scheme. Do not make the > mistake of thinking that there is, just because it happens to look that way > most of the time. That is unfortunately true. And it _is_ a bug. The original design had definite order. That was not a nice addition, it was a necessity. You cannot get stable behaviour unless you guarantee that the scripts don't race with each other. The approach with a user space demon solves a part of this problem, but not all parts. User space needs to acknowledge that it is finished dealing with one event _before_ the next event is pumped to user space _and_ before the device the event refers to is accessable from user space. That's the only way to get security if device nodes can be reused. Regards Oliver _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel