Text-Terminals on Linux
6.6Creating a Device with "mknod"
The /dev directory comes supplied with many device special files. If you need something that's not there you may try to create it with the "mknod" command. See the manual page ttys(4) for how to do this for serial ports. To use mknod you must know the major and minor device numbers. You might be able to infer the numbers you need by using the "ls -l" command in the /dev directory.
It will display the major and minor numbers of existing special files.
NextPreviousContents
* License
* Text Terminal How-To Index