Date: Sat, 29 Apr 2006 14:16:47 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern tty_pts.c Message-ID: <20060429141357.T11416@fledge.watson.org> In-Reply-To: <200604282139.k3SLdvCP001351@repoman.freebsd.org> References: <200604282139.k3SLdvCP001351@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Apr 2006, Robert Watson wrote: > Modified files: > sys/kern tty_pts.c > Log: > 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 disabled. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429141357.T11416>