public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* question why need open /dev/console in init() when starting kernel
@ 2005-06-03  7:01 Tomko
  2005-06-03 10:32 ` Richard B. Johnson
  0 siblings, 1 reply; 7+ messages in thread
From: Tomko @ 2005-06-03  7:01 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <4betH-75D-9@gated-at.bofh.it>]

end of thread, other threads:[~2005-06-03 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03  7:01 question why need open /dev/console in init() when starting kernel 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
     [not found] <4betH-75D-9@gated-at.bofh.it>
2005-06-03 10:06 ` Bodo Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox