lkml.org 
[lkml]   [2004]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Console: fall back to /dev/null when no console is availlable
    On Wed, Oct 06, 2004 at 04:00:23PM +0100, Alan Cox wrote:
    > On Maw, 2004-10-05 at 22:13, Russell King wrote:
    > > I'm redirecting them in the /sbin/hotplug script to something sane,
    > > but I think the kernel itself should be directing these three fd's
    > > to somewhere whenever it invokes any user program, even if it is
    > > /dev/null.
    >
    > Someone should yes. There are lots of fascinating things happen when
    > hotplug opens a system file, it gets assigned fd 2 and then we write to
    > stderr.

    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?

    thanks,

    greg k-h
    -
    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/

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