public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to increase UNIX98 pty number?
@ 2002-04-01 17:03 Hui_Ning
  2002-04-02 23:33 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Hui_Ning @ 2002-04-01 17:03 UTC (permalink / raw)
  To: linux-kernel


hi,

Where should I change to increase the UNIX98 pty number beyond 2048? The
maximum allowed in xconfig is 2048.
Is there any reason that this number can't go beyond 2048? Thanks,

hui


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

* Re: how to increase UNIX98 pty number?
  2002-04-01 17:03 how to increase UNIX98 pty number? Hui_Ning
@ 2002-04-02 23:33 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2002-04-02 23:33 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <OF391D2B4A.E68BC179-ON86256B8E.005D10CA@3com.com>
By author:    Hui_Ning@3com.com
In newsgroup: linux.dev.kernel
> 
> hi,
> 
> Where should I change to increase the UNIX98 pty number beyond 2048? The
> maximum allowed in xconfig is 2048.
> Is there any reason that this number can't go beyond 2048? Thanks,
> 

Yes, dev_t is too small.

You could hack the kernel to locally allocate additional major
numbers, preferrably in the 240-255 range, if you need it.

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

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

end of thread, other threads:[~2002-04-02 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01 17:03 how to increase UNIX98 pty number? Hui_Ning
2002-04-02 23:33 ` H. Peter Anvin

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