The mknod command creates a device file, specifying block or character device and giving the major and minor device numbers.
mknod filename [b or c] major_num minor_num
What major number should be used to create a new device file?
The file
/proc/devices
lists the current devices and their major device numbers (not the minor numbers)