From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Date: Tue, 06 Feb 2001 13:46:42 +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 David Woodhouse wrote: > > Er... we can wait for arbitrary lengths of time in execve(). So events > aren't serialised anyway, and cannot be if you report them by running a > userspace helper like this. You'd have to have a queue which is read by a > single userspace process (which could perhaps be spawned when the queue > becomes non-empty). I don't really understand why the /sbin/hotplug callout exists at all. If instead the kernel were to spit the event strings out of some FIFO device (character special or whatever) then hotplugd can perform all its actions nice and serially. Plus we can buffer all the "insertion events" which occur from boot-time scanning so they're available when hotplugd starts up. Confused. _______________________________________________ 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