Re: [ANNOUNCE] udev 0.1 release

Greg KH
2003-04-11T23:23:44Z

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