Re: [PATCH] udev enhancements to use kernel event queue

Linus Torvalds (torvalds@transmeta.com)
Fri, 13 Jun 2003 18:06:43 +0000 (UTC)


In article <3EE8D038.7090600@mvista.com>,
Steven Dake <sdake@mvista.com> wrote:
>
>I have been looking at the udev idea that Greg KH has developed.
>Userland device enumeration definately is the way to go, however, there
>are some problems with using /sbin/hotplug to transmit device
>enumeration events:

No.

WE ARE NOT GOING TO A EVENT DEAMON!

Centralized event deamons are crap, unmaintainable, and unreadable.
They are a maintenance nightmare, both from a development standpoint and
from a MIS standpoint. They encourage doing everything in one program,
keeping state in private memory, depending on ordering, and just
generally do bad things.

/sbin/hotplug, on the other hand, makes events clearly independent
things, and encourages writing simple scripts that can be combined and
localized. In other words, it's the UNIX way.

I've seen the madness of event deamons, and it's called "cardmgr" and
"acpid". We don't want it.

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