lkml.org 
[lkml]   [2010]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 28/49] tty: Add a new file /proc/tty/consoles
On Mon, Oct 25, 2010 at 09:51:25AM +0200, Dr. Werner Fink wrote:
> > Maybe I wouldn't bother with marking the "current" console by star at
> > all as it seems not to pay off.
>
> This is the main reason for what I've done this patch:
> To see on which console line the reading process is
> located. Please do not skip this part as this is
> currently the only way to detect the real console below
> /dev/console ... it could be used in user space: e.g. in
> plymouth or bootlogd (to deterime the main console) or
> sulogin (to be able to provide a prompt on all console
> lines).

You've got to be kidding. So all this stuff is about getting TIOCGDEV
into the mainline? In a form that would, presumably, be more acceptable
than an ioctl?

> --
> "Having a smoking section in a restaurant is like having
> a peeing section in a swimming pool." -- Edward Burr

Ironic, innit?


\
 
 \ /
  Last update: 2010-10-27 02:53    [W:0.116 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site