lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH, RFC, BAD IDEA] /proc/tty/console
On Wed, 27 Feb 2008 13:18:57 -0500 Bill Nottingham <notting@redhat.com> wrote:

> The attached patch adds /proc/tty/console. The contents of it are
> simply a description of the current drivers attached to /dev/console.
> For example, a boot with 'console=ttyS3,115200n1 console=tty0' would
> yield:
>
> # cat /proc/tty/console
> unknown /dev/tty0
> serial /dev/ttyS3

I must say that the what-consoles-are-registered problem makes my head spin
sometimes too. Seems a worthy objective.

However I think that a bunch of plain old printks which are emitted when a
console is added or removed would suffice?

We should display each console's CON_foo flags too.


\
 
 \ /
  Last update: 2008-02-29 07:53    [W:0.044 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site