Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 22:26:51 -0600
From:      Andrew Hesford <ajh3@chmod.ath.cx>
To:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Device Inodes
Message-ID:  <20010312222651.A21124@cec.wustl.edu>

next in thread | raw e-mail | index | archive | help
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.<architecture>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010312222651.A21124>