lkml.org 
[lkml]   [2004]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: More than 2048 ptys on 2.4.27
Date
> From: linux-kernel-owner@vger.kernel.org 
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Tim Warnock
> Sent: Saturday, 28 August 2004 9:25 AM
> To: linux-kernel@vger.kernel.org
> Subject: More than 2048 ptys on 2.4.27
>
> Hi all,
> Im trying to increase ptys from 2048 to 4096 by doing these things:
>
> Modifying include/linux/major.h:
> Increase major numbers to 16
> Move slave major start to 231 (according to docs this is
> available for use)
>
> This appears to work to the point that the kernel doesn't
> panic on boot (ive
> had some fun before now ;) however when an application tries
> to allocate a
> pty I get an: "inappropriate ioctl for device"
>
> As a test I lowered major numbers to 4, set ptys to 1024 and
> put slave major
> start to 138 (should have been 136) and I didn't get this error.
>
> So my question is how do I allow the use of major numbers 231
> through to 247
> as pty slaves and major numbers 136-144 as pty masters?

I was wondering if no-one can help specifically whether they could at least
point me in the direction I'd need to go to learn how this works.

Thanks for any assistance, its appreciated.

Tim

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site