Messages in this thread | | | Date | Tue, 11 Jul 2006 23:55:11 -0400 | From | "Jon Smirl" <> | Subject | Re: tty's use of file_list_lock and file_move |
| |
How exactly are /dev/tty0 and /dev/console supposed to work?
I thought that /dev/tty0 was the currently active tty. And /dev/console is where the printk output is going.
/dev/tty0 appears to be snapshoting the currently active tty when it is opened. It does not track changes to the foreground console.
It looks like TIOCCONS effects both /dev/tty0 and /dev/console. tty0 uses console_fops with redirected_tty_write().
Am I reading the code right, and are these the correct behaviors?
What is the equivalent to the setconsole command for Fedora?
-- Jon Smirl jonsmirl@gmail.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |