From owner-cvs-all@FreeBSD.ORG Sat Apr 29 13:16:50 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D047B16A415; Sat, 29 Apr 2006 13:16:50 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED65B43D5E; Sat, 29 Apr 2006 13:16:48 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 5D26A46C40; Sat, 29 Apr 2006 09:16:47 -0400 (EDT) Date: Sat, 29 Apr 2006 14:16:47 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200604282139.k3SLdvCP001351@repoman.freebsd.org> Message-ID: <20060429141357.T11416@fledge.watson.org> References: <200604282139.k3SLdvCP001351@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: cvs commit: src/sys/kern tty_pts.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 13:16:52 -0000 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