What happens when writing to a device driver?
For example:
echo "some text" > /proc/device_driver
I'm guessing that echo has a write-call that somehow invokes the write-function in the driver. What are the "steps" from the echo-function to the drivers write function?