Subject: Re: two questions: audio and ttys
To: Jeffrey Dunitz <orpheus@lemieux.hockey.net>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 11/26/1998 19:12:27
Ooops, my error:
Just do:
# cd /etc
# ./MAKEDEV pty0
# ./MAKEDEV pty1
etc. Each of the pty classes (0 through 15) will create 16 pseudo-ttys,
so you can get up to 256 of them!
On Thu, 26 Nov 1998, Jeffrey Dunitz wrote:
> On Thu, Nov 26, 1998 at 10:58:40AM -0800, Paul Goyette said something like:
> > On Thu, 26 Nov 1998, Jeffrey Dunitz wrote:
> >
> >
> > > SECOND QUESTION:
> > > I keep running out of TTYs on my mac. There are more devices in /dev
> > > than what I seem to be able to use. How does one solve this? It's frustrating
> > > to try to log into the machine and it says it's out of ttys. :/
> >
> > You can log in as root and use the /dev/MAKEDEV script to create more
> > ttys. But you'll probably also need some more ptys if you're telnetting
> > into the box or if you're using dt.
> >
> > # cd /dev
> > # ./MAKEDEV ttyp
> > # ./MAKEDEV tyyq
> > # ./MAKEDEV ttyr
> > # ./MAKEDEV ptyp
> > # ./MAKEDEV ptyq
> > # ./
>
>
>
>
> # ./MAKEDEV ptyr
> ./MAKEDEV: ptyr: pty unit must be between 0 and 15
>
> That's not what I expected...
>
> I even tried manually making the devices with mknod, which gives me more
> device entries, but they don't seem to do anything--ie, when I try to log
> into my machine again, it says that all network ports are in use, even
> though I just created ptyr[0-f], which weren't there before. Has anyone
> ever had this problem?
>
>
>
> >
> > This should give you more than you can ever keep track of!
> >
>
>
> That's how I like it! The measure of a stable system is that your box
> has been up so long, you can't remember where most of your windows are. :)
>
> >
> > -----------------------------------------------------------------------------
> > | Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
> > | Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
> > | and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
> > -----------------------------------------------------------------------------
> >
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Jeffrey Dunitz | Ex-Crayon; | orpheus@avalon.net
> BOFH Emeritus, Avalon Networks | Network Engineer | Eagan, MN, USA
> http://www.avalon.net/~orpheus | EXi Corporation | 651-523-6992 (work)
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------