Re: how to increase UNIX98 pty number?

H. Peter Anvin (hpa@zytor.com)
2 Apr 2002 15:33:53 -0800


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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/