From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 11 Apr 2003 23:35:07 +0000 Subject: Re: [ANNOUNCE] udev 0.1 release 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 Fri, Apr 11, 2003 at 04:23:38PM -0700, Andrew Morton wrote: > > > > But how many events to we buffer? > > On a large machine: 856,432. Heh. > > When do we start to throw them away? > > Fun policy decisions that we don't have to worry about in the current > > scheme. > > The current scheme will run out of processes, kernel stacks, etc before a > message scheme would. > > > Also, what's the format of the kernel->user interface. > > Exactly the same as at present, with /sbin/hotplug chopped off. So you can > run the daemon: > > while read x > do > /sbin/hotplug $x > done < /dev/hotplug_event_pipe > > for compatibility with existing scripts. But the current interface is a single argument, and whole lot of variable length environment variables that may or may not be set, depending on the argument. That would be a mess to parse from a single stream (not undoable, but painful). thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ 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