From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 2 15:13:52 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65BBC106564A; Mon, 2 Jun 2008 15:13:52 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0FA8FC19; Mon, 2 Jun 2008 15:13:52 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m52FDYaU050792; Mon, 2 Jun 2008 09:13:34 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m52FDXVj015018; Mon, 2 Jun 2008 09:13:33 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.2/8.14.2/Submit) id m52FDXBK015015; Mon, 2 Jun 2008 09:13:33 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18500.3613.230514.193236@gromit.timing.com> Date: Mon, 2 Jun 2008 09:13:33 -0600 From: John E Hein To: Ed Schouten In-Reply-To: <20080602144744.GU64397@hoeg.nl> References: <20080602073152.GO64397@hoeg.nl> <18500.1974.681847.564212@gromit.timing.com> <20080602144744.GU64397@hoeg.nl> X-Mailer: VM 7.19 under Emacs 22.1.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@freebsd.org, philip@freebsd.org Subject: Re: Linux major/minor conversion not entirely correct X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 15:13:52 -0000 Ed Schouten wrote at 16:47 +0200 on Jun 2, 2008: > > Where does the magic number 136 come from? > > Linux uses major numbers 136,137,138,... for PTY's. We should probably point that out in a comment &/or #define. I've heard no plans to change the device numbering scheme in linux in the near future. So this magic number should likely be stable for some time to come, correct?