From: Jiri Slaby Date: Thu, 4 Nov 2010 15:20:24 +0000 (+0100) Subject: console: add /proc/consoles X-Git-Tag: v2.6.38-rc1~464^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23308ba54dcdb54481163bfb07dd8aeca76a7a2e;p=pandora-kernel.git console: add /proc/consoles It allows users to see what consoles are currently known to the system and with what flags. It is based on Werner's patch, the part about traversing fds was removed, the code was moved to kernel/printk.c, where consoles are handled and it makes more sense to me. Signed-off-by: Jiri Slaby [cleanups] Signed-off-by: "Dr. Werner Fink" Cc: Al Viro Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed