Re: Simple Kernel-User Event Interface (Was: RE: [ANNOUNCE] udev 0.1 release)

From: Frank van Maarseveen (frankvm@xs4all.nl)
Date: Sat Apr 12 2003 - 04:13:17 EST


On Fri, Apr 11, 2003 at 09:16:02PM -0700, Perez-Gonzalez, Inaky wrote:
>
> The idea is you queue from the kernel a message and the user space
> reads it -entirely, no half things-, starting with a header (unsigned
> long size) and then the actual bytes. If the user provides a buffer

It would be better to use an ASCII interface using \n as event
separator. That's what I like about hotplug: it can be scripted.

-- 
Frank
-
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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:26 EST