Re: [ANNOUNCE] udev 0.1 release

Greg KH (greg@kroah.com)
Fri, 11 Apr 2003 16:35:07 -0700


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/