I roughly know about the files located under /dev.
I know there are two types (character/block), accessing these files communicates with a driver in the kernel.
I want to know what happens if I delete one -- specifically for both types of file. If I delete a block device file, say
/dev/sda, what effect -- if any --
does this have? Have I just unmounted the disk?
Similarly, what if I delete
/dev/mouse/mouse0 -- what happens? Does the mouse stop working? Does it automatically replace itself?
Can I even delete these files? If I had a VM set up, I'd try it.