]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty: Add a new file /proc/tty/consoles
authorDr. Werner Fink <werner@suse.de>
Wed, 22 Sep 2010 10:45:40 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:20:05 +0000 (10:20 -0700)
commitf4a3e0bceb57466c31757f25e4e0ed108d1299ec
treec08eda0100e97ebd1fe4ab90b5d8eb142e505673
parenta9e2e06015201c32c43d3615c9bf5e0d4efb4302
tty: Add a new file /proc/tty/consoles

Add a new file /proc/tty/consoles to be able to determine the registered
system console lines.  If the reading process holds /dev/console open at
the regular standard input stream the active device will be marked by an
asterisk.  Show possible operations and also decode the used flags of
the listed console lines.

Signed-off-by: Werner Fink <werner@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/filesystems/proc.txt
fs/proc/proc_tty.c