I used mknod to create a file in /dev/, but I got the major/minor numbers wrong.
So I did rm <name> while in /dev/
It prompted, if I wanted to delete the special file, I said yes.
And I issued
mknod <name> c with the correct major and minor numbers
but mknod says
"<name>" invalid argument
<name> is not what I actually used, thats just so you see how I typed the command. The actual name was "toilet"
Any idea why mknod now will not let me create another file with that name? It does NOT say the file already exists.
Been searching the net, but can't seem to find a solution, seems most people who have any issues with mknod is from not being root. But I was logged in as root the entire time (not su)
The system is: FC3 with the latest stable kernel release from Redhat
Any thoughts or suggestions?
Thanks in advance,