Re: [PATCH] Console: fall back to /dev/null when no console is availlable

Jörn Engel
2004-10-06T18:01:57Z

On Wed, 6 October 2004 10:41:08 -0700, Greg KH wrote:
>
> Good point. So, should we do it in the kernel, in call_usermodehelper,
> so that all users of this function get it correct, or should I do it in
> userspace, in the /sbin/hotplug program?
>
> Any opinions?

Kernel.

Same reasoning as before, if someone comes along and creates a "much
better" /sbin/hotplug which doesn't handle it, things will break
again.

Jörn

--
Data dominates. If you've chosen the right data structures and organized
things well, the algorithms will almost always be self-evident. Data
structures, not algorithms, are central to programming.
-- Rob Pike