From owner-freebsd-questions Mon Mar 12 20:27:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id 71A7237B719 for ; Mon, 12 Mar 2001 20:27:17 -0800 (PST) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id 573CBA82A; Mon, 12 Mar 2001 22:26:51 -0600 (CST) Date: Mon, 12 Mar 2001 22:26:51 -0600 From: Andrew Hesford To: FreeBSD-questions Subject: Device Inodes Message-ID: <20010312222651.A21124@cec.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to add extra tty/pty pairs. The manpage says that extra tty/pty pairs can take the form /dev/tty[p-sP-S][0-9a-v] /dev/pty[p-sP-S][0-9a-v] Would non-ptyp* device inodes still use major number 6, and would non-ttyp* device inodes still use major number 5? Also, would I still use the 0-31 minor number? Would this conflict with the existing ttyp* and ptyp* devices? Would I be able to open more than 31 xterms (read: open more than 31 tty/pty pairs at one time). On a related note, I've found an inconsistency in the mknod(8) manpage. It says the major numbers are listed in /usr/src/sys/conf/device., when no such file exists. However, they are listed in /usr/src/sys/conf/majors. Maybe the manpage should be updated? -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message