Re: Why is hotplug a kernel helper?

From: Greg KH
Date: Wed Dec 03 2003 - 20:19:03 EST


On Thu, Dec 04, 2003 at 01:04:44AM +0100, Fredrik Tolf wrote:
> If you don't mind me asking, I would like to know why the kernel calls
> a usermode helper for hotplug events? Wouldn't a chrdev be a better
> solution (especially considering that programs like magicdev could
> listen in to it as well)?

Please see the archives for why this is, it's been argued many times.

> Correct me if I'm wrong, but the kobject code never does check the
> return value from the usermode helper, right?

That is correct.

thanks,

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/