mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* more than 2048 unix98 ptys?
@ 2003-02-19 19:15 Mark Frazer
  2003-02-19 19:36 ` Richard B. Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Frazer @ 2003-02-19 19:15 UTC (permalink / raw)
  To: Linux Kernel List

Is there a patch out there to allow more than 2048 unix98 ptys on
a single box?

thanks
-mark

-- 
Leela, there's nothing wrong with anything. - Fry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: more than 2048 unix98 ptys?
  2003-02-19 19:15 more than 2048 unix98 ptys? Mark Frazer
@ 2003-02-19 19:36 ` Richard B. Johnson
  2003-02-19 20:06   ` Mark Frazer
  0 siblings, 1 reply; 3+ messages in thread
From: Richard B. Johnson @ 2003-02-19 19:36 UTC (permalink / raw)
  To: Mark Frazer; +Cc: Linux Kernel List

On Wed, 19 Feb 2003, Mark Frazer wrote:

> Is there a patch out there to allow more than 2048 unix98 ptys on
> a single box?
> 
> thanks
> -mark
> 
> -- 

Read the comments in .../linux-n.n/include/linux/tty.h and then
modify NR_PTYS accordingly. You need to add more majors as well.

Note that ptys are used for interactive terminals, you don't need
one for every network connection. You may be adding something that
you don't need and wasting kernel space.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: more than 2048 unix98 ptys?
  2003-02-19 19:36 ` Richard B. Johnson
@ 2003-02-19 20:06   ` Mark Frazer
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Frazer @ 2003-02-19 20:06 UTC (permalink / raw)
  To: Richard B. Johnson; +Cc: Linux Kernel List

Richard B. Johnson <root@chaos.analogic.com> [03/02/19 14:38]:
> Read the comments in .../linux-n.n/include/linux/tty.h and then
> modify NR_PTYS accordingly. You need to add more majors as well.

I was hoping for something like the 32 bit dev_t that I've seen talked
about (but know very little about).  I need 16 or 32K ptys.  Getting that
many majors does not appear possible.

> Note that ptys are used for interactive terminals, you don't need
> one for every network connection. You may be adding something that
> you don't need and wasting kernel space.

It's for a PPP test client and we need a pty per session.

-- 
OK, but I don't want anyone thinking we're robosexuals. - Bender

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-19 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19 19:15 more than 2048 unix98 ptys? Mark Frazer
2003-02-19 19:36 ` Richard B. Johnson
2003-02-19 20:06   ` Mark Frazer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®