Subject: Re: Newbie: please help (Out of ptys in i386 system)
To: Tor Stormwall <tor@stormwall.org>
From: David Maxwell <david@vex.net>
List: netbsd-users
Date: 04/23/2003 13:15:19
On Tue, Apr 22, 2003 at 08:44:36PM +0200, Tor Stormwall wrote:
> David Maxwell <david@vex.net> writes:
> > ./MAKEDEV pty0 pty1 ... (up to 15 if you want)
> >
> > Each one gives you (2*26)+10 ptys.
> ^^^^^^^^^
> What does that mean? Why (2*26)+10?
./MAKEDEV pty0 will create
ttyp0 ttyp4 ttyp8 ttypC ttypG ttypK ttypO ttypS ttypW ttypa ttype ttypi
ttypm ttypq ttypu ttypy ttyp1 ttyp5 ttyp9 ttypD ttypH ttypL ttypP ttypT
ttypX ttypb ttypf ttypj ttypn ttypr ttypv ttypz ttyp2 ttyp6 ttypA ttypE
ttypI ttypM ttypQ ttypU ttypY ttypc ttypg ttypk ttypo ttyps ttypw ttyp3
ttyp7 ttypB ttypF ttypJ ttypN ttypR ttypV ttypZ ttypd ttyph ttypl ttypp
ttypt ttypx
Which is ttyp[0-9a-zA-Z] or, 26 + 26 + 10 ttys.
--
David Maxwell, david@vex.net|david@maxwell.net -->
If you don't spend energy getting what you want,
You'll have to spend it dealing with what you get.
- Unknown