From owner-freebsd-current@FreeBSD.ORG Sat Jan 28 21:51:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35F0516A420 for ; Sat, 28 Jan 2006 21:51:00 +0000 (GMT) (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 7976643D45 for ; Sat, 28 Jan 2006 21:50:59 +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 CA5CE46B13; Sat, 28 Jan 2006 16:50:51 -0500 (EST) Date: Sat, 28 Jan 2006 21:52:34 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Stephen McKay In-Reply-To: <200601281231.k0SCVhtc011525@dungeon.home> Message-ID: <20060128215112.W95776@fledge.watson.org> References: <20060126022854.GA16323@ci0.org> <20060126020818.K97024@fledge.watson.org> <200601281231.k0SCVhtc011525@dungeon.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: HEADS UP: pts code committed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 21:51:00 -0000 On Sat, 28 Jan 2006, Stephen McKay wrote: > On Thursday, 26th January 2006, Robert Watson wrote: > >> On Thu, 26 Jan 2006, Olivier Houchard wrote: >> >>> Robert Watson and myself have been working on a pts implementation, ala >>> SysV/linux, for quite some time... > > This is a long overdue feature, so well done! > > However there's something that looks a bit odd to me, and since I don't have > -current set up at the moment, I can't check directly, so I'll ask here: Is > it true that the naming scheme uses /dev/pts/999 and /dev/pty999, not > /dev/pty/999? If so, that looks like a mistake. Is there something > stopping the cleaner naming being used? > > If I've just read the code wrong, then I apologise and will immediately > clear bench space for a -current test box! You are right, that is what it does. This is actually an intentional design choice to match the behavior in Solaris, which also names them /dev/ptyp*. Well, strictly speaking, those are just symlinks into /devices, but it comes to much the same thing. You are probably right, though -- naming them /dev/pty/* would make more sense, and won't affect the libc API. Robert N M Watson