Re: question about /dev/console and /dev/tty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <[email protected]>,
Tomko  <[email protected]> wrote:
>Hi everyone,
>
>Which device is /dev/console pointing to ? or is it a virtual device ? 
>Actually why this node is made?

See linux/Documentation/serial-console.txt

>Why kernel default not providing a control terminal on /dev/console but 
>on other device ?

Because some daemons open /dev/console to send last resort error
messages to, and you do not want them to unexpectedly gain a
controlling tty.

>It is not surprising that we can use CTRL-C to terminate some process on 
>i386 linux on the Desktop machine,  is that mean the shell on our 
>desktop is not using /dev/console ? so where are the shell running on?

/dev/tty1, /dev/tty2 etc

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux