Subject: Re: On /dev/console, /dev/constty and the TIOCCONS ioctl
To: None <david@l8s.co.uk>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 10/04/2003 12:42:52
In article <20031004102621.I1713@snowdrop.l8s.co.uk> you write:
>The fundamental problem I was trying to solve is that you can't
>have use /dev/console as a terminal and support TIOCCONS redirecting
>console output elsewhere.  NetBSD, as shipped, tries to allow both.
>
>There are basically 2 solutions:
>1) Stop TIOCCONS redirecting /dev/console and require programs use (say)
>   /dev/conslog to write 'console' messages.

I dislike that on the grounds that POSIX defines /dev/console, albeit not
very usefully, as a target for log messages.

-- 
Ben Harris