From: Kay Sievers Date: Wed, 1 Dec 2010 17:51:05 +0000 (+0100) Subject: tty: add 'active' sysfs attribute to tty0 and console device X-Git-Tag: v2.6.38-rc1~464^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbc92a3455577ab17615cbcb91826399061bd789;p=pandora-kernel.git tty: add 'active' sysfs attribute to tty0 and console device tty: add 'active' sysfs attribute to tty0 and console device Userspace can query the actual virtual console, and the configured console devices behind /dev/tt0 and /dev/console. The last entry in the list of devices is the active device, analog to the console= kernel command line option. The attribute supports poll(), which is raised when the virtual console is changed or /dev/console is reconfigured. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman index 0000000..b138b66 --- Reading git-diff-tree failed