[lkml]   [2004]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Console: fall back to /dev/null when no console is availlable
On Mer, 2004-10-06 at 18:41, 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?

Userspace is more flexible. What does the kernel do if it can't figure
out what to open as fd 0, 1, 2. Either it explodes or asks user space.
While /sbin/hotplug can mknod itself a private /dev/null and
/dev/console in an emergency.
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

 \ /
  Last update: 2005-03-22 14:06    [W:0.073 / U:58.232 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site