bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting standard fds to console in translator libs


From: Niels Möller
Subject: Re: setting standard fds to console in translator libs
Date: 24 Aug 2001 19:10:10 +0200

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

> The order is this:
> 
> GNU Mach -> serverboot -> root fs, exec -> proc, auth, init

And now that serverboot is being eliminated?

> On Fri, Aug 24, 2001 at 03:31:08PM +0200, Niels Möller wrote:

> > Later, when /dev/console is started (if not earlier, this should
> > happen as soon as some init script sends data to the console), the
> > console tells init about that, and gets init to either give away the
> > root filesystems stderr port to the console, or if that's too hard,
> > start forwarding messages to the console.

> I am not sure on that.

If the /dev/console translator provides any interesting features
beyond the one provided by the mach console, it would be good to have
the mach console be replaced by /dev/console when the latter is
avalable.

Otherwise, if /dev/console is a way to give the mach console a name in
the file system, it should be just fine to let the root filesystem use
the mach console for stderr and have that setting inherted, no other
magic needed.

I still think it would be nice if the setting up of the root
filesystem's stderr could be moved out of the filesystem to whatever
component it is that starts it, but perhaps that's not practical.

Regards,
/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]