This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这只是/dev/目录下的设备,,怎么那么多pty、tty设备呢?
搜一下linux内核中枚举创建及生成tty设备的全过程
对,也可以直接在内核改