From: Tomko <tomko@avantwave.com>
To: linux-kernel@vger.kernel.org
Subject: question why need open /dev/console in init() when starting kernel
Date: Fri, 03 Jun 2005 15:01:57 +0800 [thread overview]
Message-ID: <42A00065.9060201@avantwave.com> (raw)
Hi everyone,
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 .
Regards,
TOM
next reply other threads:[~2005-06-03 7:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-03 7:01 Tomko [this message]
2005-06-03 10:32 ` question why need open /dev/console in init() when starting kernel 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
[not found] <4betH-75D-9@gated-at.bofh.it>
2005-06-03 10:06 ` Bodo Eggert
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=42A00065.9060201@avantwave.com \
--to=tomko@avantwave.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.