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