From owner-freebsd-questions Wed Mar 5 07:56:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA24124 for questions-outgoing; Wed, 5 Mar 1997 07:56:23 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA24116 for ; Wed, 5 Mar 1997 07:56:21 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id HAA00289 for ; Wed, 5 Mar 1997 07:56:19 -0800 (PST) Received: by mail.EUnet.hu, id QAA16173; Wed, 5 Mar 1997 16:56:04 +0100 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id QAA00531; Wed, 5 Mar 1997 16:43:22 +0100 (MET) From: Zahemszky Gabor Message-Id: <199703051543.QAA00531@CoDe.hu> Subject: Re: MAKEDEV and ptys To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Wed, 5 Mar 1997 16:43:22 +0100 (MET) Cc: spork@super-g.com In-Reply-To: from spork at "Mar 1, 97 03:24:47 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > I'm having troubles getting MAKEDEV to cooperate with me. I already have > 32 ptys, and need to add 32 more. I've created the entries in /etc/ttys > already, but when I go to /dev and do this: > > shell [/dev]# sh MAKEDEV ptyq0 > > I get: > > bad unit for pty in: ptyq0 On my 2.1.5 machine: sh MAKEDEV pty1 (read MAKEDEV, and in it you will see, that the number will generate the nth 32 pty. So pty0 will generate ptyp0...ptypv, and pty1 will ptyq0..ptyqv, etc.) Gabor