[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 13:41:12 +0200 |
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> The motivation of Moritz was that he debugged pfinet, which got an
> assertion failure. If pfinet had its output redirected to the
> console, this would have been trivial to see.
Thanks for the background. I agree that automatically (or even
unconditionally) redirecting its output to /dev/console would be an
improvement, even if it's not the Right Thing.
> The root filesystem can not access /dev/console until after the bootstrap
> has happened.
Hmm. I feel ignorant now.
But isn't it right that messages are output to the console before the
root filesystem is started? A reasonable thing to do would be to bind
that mechanism, whatever it is, to the root filesystem's stderr. Then
translators could inherit stderr from there, and no one needs to touch
"/dev/console".
Hmm, I've been assuming that passive translators inherit stdio from
their parent filesystem when they are started. But perhaps that's not
true? If they did, it would be enough to have the root filesystem open
/dev/console, pfinet would inherit that automatically.
Regards,
/Niels
- setting standard fds to console in translator libs, Moritz Schulte, 2001/08/23
- Re: setting standard fds to console in translator libs, Niels Möller, 2001/08/24
- Re: setting standard fds to console in translator libs, Marcus Brinkmann, 2001/08/24
- Re: setting standard fds to console in translator libs,
Niels Möller <=
- Re: setting standard fds to console in translator libs, Marcus Brinkmann, 2001/08/24
- Re: setting standard fds to console in translator libs, Niels Möller, 2001/08/24
- Re: setting standard fds to console in translator libs, Marcus Brinkmann, 2001/08/24
- Re: setting standard fds to console in translator libs, Niels Möller, 2001/08/24
- Re: setting standard fds to console in translator libs, Thomas Bushnell, BSG, 2001/08/24
- Re: setting standard fds to console in translator libs, Niels Möller, 2001/08/24
- Re: setting standard fds to console in translator libs, Neal H Walfield, 2001/08/24
- Re: setting standard fds to console in translator libs, Thomas Bushnell, BSG, 2001/08/24
- Re: setting standard fds to console in translator libs, Roland McGrath, 2001/08/24
- Re: setting standard fds to console in translator libs, Thomas Bushnell, BSG, 2001/08/24