lkml.org 
[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Available for testing: /dev/pts filesystem
Date
> 
> Out of curiousity: does your /dev/pts support > 256 ptys, if someone ever
> gets around to adding dynamic-pty support (alternatively, you could
> change the constant NR_PTYS in the kernel)?
> --Scott
> @ @

Changing NR_PTYS should work with the code unmodified (well, you may
have to change the mapping from pty numbers to kdev_t's but that's
really unrelated); to make the pty's dynamic you'd have to do a little
more work, but the changes should be trivial (you would want to change
the inodes array to something dynamic, as well as change the tests
against NR_PTYS).

Nothing that amounts to rocket science.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.025 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site