From: Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
To: Tomko <tomko@avantwave.com>, linux-kernel@vger.kernel.org
Subject: Re: question why need open /dev/console in init() when starting kernel
Date: Fri, 03 Jun 2005 12:06:53 +0200 [thread overview]
Message-ID: <E1De94o-0001Dv-2f@be1.7eggert.dyndns.org> (raw)
In-Reply-To: <4betH-75D-9@gated-at.bofh.it>
Tomko <tomko@avantwave.com> wrote:
> Do anyone know why it need to open("/dev/console"....) at the end of the
> init() before calling execve("/sbin/init") ? Why open this for the in ,
> out , err channel at this moment but not open it at the time when going
> to use , e.g. open it in the shell .
How is the shell supposed to know which files to open, or if it's supposed
to open files at all?
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
next parent reply other threads:[~2005-06-03 10:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4betH-75D-9@gated-at.bofh.it>
2005-06-03 10:06 ` Bodo Eggert [this message]
2005-06-03 7:01 Tomko
2005-06-03 10:32 ` Richard B. Johnson
2005-06-03 14:15 ` Wakko Warner
2005-06-03 14:40 ` Richard B. Johnson
2005-06-03 15:08 ` Wakko Warner
[not found] ` <42A073BA.5040700@yahoo.com>
[not found] ` <20050603152017.GC14641@animx.eu.org>
2005-06-03 16:41 ` J. Scott Kasten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1De94o-0001Dv-2f@be1.7eggert.dyndns.org \
--to=harvested.in.lkml@posting.7eggert.dyndns.org \
--cc=7eggert@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tomko@avantwave.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®