]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove pseudo-terminals from ttys(5).
authored <ed@FreeBSD.org>
Wed, 27 Jan 2010 11:54:42 +0000 (11:54 +0000)
committered <ed@FreeBSD.org>
Wed, 27 Jan 2010 11:54:42 +0000 (11:54 +0000)
commit93642d99973a88335db8126f637ce0b2ef249f6d
tree9f74dddfd54b164d4a996e250961b65d9b9d86f8
parent816304450375a4427d1b3354736d8d0110eaefdb
Remove pseudo-terminals from ttys(5).

When we had utmp(5), we had to list all the psuedo-terminals in ttys(5)
to make ttyslot(3) function properly. Now that pututxline(3) deals with
slot allocation internally (not based on TTY names), we don't need to
list all the TTYs on the system in ttys(5) to make user accounting work
properly.

This patch removes all the entries from the /etc/ttys files, but also
the pts(4) entries that were appended implicitly, which was added in
r154838.
etc/etc.amd64/ttys
etc/etc.arm/ttys
etc/etc.i386/ttys
etc/etc.ia64/ttys
etc/etc.mips/ttys
etc/etc.pc98/ttys
etc/etc.powerpc/ttys
etc/etc.sparc64/ttys
lib/libc/gen/getttyent.c