Re: netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels

From: Greg KH
Date: Wed Apr 29 2009 - 00:15:52 EST


On Tue, Apr 28, 2009 at 06:32:07PM -0700, Anil kumar wrote:
>
> Hi,
>
> I see that we can use NETLINK_KOBJECT_UEVENT to send kernel messages
> to user space. This is available in most of the latest 2.6 kernels.
> But if I pick older kernels like 2.6.9 and NETLINK_KOBJECT_UEVENT is
> not available.
>
> Is there anything equivalent to NETLINK_KOBJECT_UEVENT for the driver
> to send messages to user space in older 2.6 kernels?

Older like 2.6.9? Wow, that's _many_ years old, why do you want to add
support for old kernels to something you are developing now?

Older kernels used the /sbin/hotplug interface to send messages to
userspace, you can use that.

good luck, you will need it :)

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/