The Kernel is generating a process with the PID1 owned by root, assiciated
with /dev/tty1 and starting init (look in linux/init/main.c/init(). If you
use initrd, the Kernel will execute /linuxrc.
The best way to make a xterminal out of a linux box is to start the X-Server
from the inittab, the second best is to replace /sbin/init with a
program/script that handles all sysinitialisation and then executes the
X-Server.
> And a second question: How difficult is it to start a daemon that hooks into
> a kernelspace driver and handles, say, consoles?
Its very easy to do that in Userspace, there is no need to reinvent the
wheel. If you dont run a getty, there will be no consoles the user can
switch to. You can then genrate manually.
Greetings
Bernd
-- (OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de -- ( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/ o--o *plush* 2048/93600EFD eckes@irc +4972573817 *plush* (O____O) If privacy is outlawed only Outlaws have privacy