cvs commit: src/sys/kern tty_pts.c
rwatson at FreeBSD.org
Sat Apr 29 13:16:51 UTC 2006
On Fri, 28 Apr 2006, Robert Watson wrote:
> Modified files:
> sys/kern tty_pts.c
> Also check use_pty in the ptmx clone lookup; this means that when ptmx
> support is turned off using the sysctl, we no longer even allow the
> ptmx device to be looked up.
> Foot provided by: peter
This should help people running applications that directly test for /dev/ptmx
rather than using openpty() to allow the operating system to provide a pty via
the preferred mechanism. Obviously, it won't help with applications that
either don't interact well with the new pts code or with bugs in the new pts
code, but it means the frob works a bit better in the event that you have pts
My leaning is to make pts the default pty implementation in FreeBSD 7.0, and
to switch the default setting to "1" for enabling pts's sometime in the next
month or two. So if you tried it out, ran into a bug, and then decided not to
run with it any more, now is a good time to figure out why it didn't work :-).
There are also, apparently, a number of devfs bugs that are floating around
which pts does a good job at triggering as it creates and destroys device
nodes fairly frequently.
Robert N M Watson
More information about the cvs-src