I am learning to write character device drivers from the Kernel Module Programming Guide, and used mknod
to create a node in /dev
to talk to my driver.
However, I cannot find any obvious way to remove it, after checking the manpage and observing that rmnod
is a non-existent command.
What is the correct way to reverse the effect of mknod
, and safely remove the node created in /dev
?
rm
– Hamper