In the book 2017 " UNIX and Linux System Administration " I've read the article below :
Current systems manage their device files robotically. However, a few uncommon nook instances may also still require you to create devices manually with the mknod command. So here’s a way to do it:
mknod filename type major minor
Right here, filename is the tool file to be created, type is c for a person device or b for a block tool, and essential and minor are the principal and minor tool numbers. In case you are growing a tool document that refers to a driver that’s already present in your kernel, check the documentation for the driving force to find an appropriate important and minor device numbers.
0 Replies