How to Create Device Files Using the Mknod Command in Linux
The “mknod” (or make node) command was originally used to create the character and block devices that reside in the “/dev” virtual filesystem. However, these devices are not regular data files but special files, and modern systems can now create or delete them by detecting