]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Turn consolectl into a simple device node, not a TTY.
authored <ed@FreeBSD.org>
Fri, 15 May 2009 14:30:37 +0000 (14:30 +0000)
committered <ed@FreeBSD.org>
Fri, 15 May 2009 14:30:37 +0000 (14:30 +0000)
commit8a2fb32a355e541af361a07d738b6d02936d1e43
tree2b10322f810d595d16d77765c24376fbfe77981f
parent1c8525dee312152c2a94a50d68a66fe24914b766
Turn consolectl into a simple device node, not a TTY.

Apart from the 16 virtual terminals, Syscons allocates two device nodes
that should not really be TTYs, even though they are. One of them is
consolectl. In RELENG_7 and before, these device nodes are used in
single user mode. After I simplified input path, we only use this device
node to call ioctl() on (moused, Xorg, vidcontrol).

When you call ioctl() on consolectl, it will behave the same as being
called on the first window.
sys/dev/syscons/syscons.c