From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 1 22:15:03 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDE410656FC for ; Wed, 1 Apr 2009 22:15:03 +0000 (UTC) (envelope-from fb-hackers@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB3A8FC21 for ; Wed, 1 Apr 2009 22:15:02 +0000 (UTC) (envelope-from fb-hackers@psconsult.nl) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id n31Lr8eA091797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Apr 2009 23:53:13 +0200 (CEST) (envelope-from fb-hackers@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id n31Lr8G2091796 for freebsd-hackers@freebsd.org; Wed, 1 Apr 2009 23:53:08 +0200 (CEST) (envelope-from fb-hackers@psconsult.nl) Date: Wed, 1 Apr 2009 23:53:08 +0200 From: Paul Schenkeveld To: freebsd-hackers@freebsd.org Message-ID: <20090401215308.GA91493@psconsult.nl> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20090401205306.GO13393@hoeg.nl> <20090401205703.GX31897@deviant.kiev.zoral.com.ua> <20090401210835.GP13393@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090401210835.GP13393@hoeg.nl> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: How to increase the max pty's on Freebsd 7.0? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 22:15:04 -0000 On Wed, Apr 01, 2009 at 11:08:35PM +0200, Ed Schouten wrote: > Hi Kostik, > > * Kostik Belousov wrote: > > Can we switch to %x ? Or even, use some radix encoding of the number, > > to allow alphabetical symbols too ? > > I guess that would break a lot of existing libraries. For example: older > RELENG_7/CURRENT libcs might still use TIOCGPTN. This ioctl just returns > a number that is just printed into a device name using "/dev/pts/%u" as > a format. I also suspect a lot of Linux/Solaris-minded software expects > the names to be in decimal form. Or change 'pts' to, for example, 'pt' so without changing utmp and related stuff we'll have space for a four digit pty number. -- Paul Schenkeveld