Re: kernel notification to user space task

Greg KH (
Fri, 29 Mar 2002 12:06:58 -0800

On Fri, Mar 29, 2002 at 10:50:13PM +0530, Amol Kumar Lad wrote:
> for example..if my driver detects that interface 'eth0' is coming up, it
> should send a indication to user task saying 'network interface eth0 is up'

If this is not just a hypothetical example, this kind of userspace
notification is already present in the kernel. /sbin/hotplug gets
called when ever any network interface is brought up or down. See the
documentation at for more information if you're


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at