Search This Blog

Device files are supposed to represent physical devices. Most physical devices are used for output as well as input, so there has to be some mechanism for device drivers in the kernel to get the output to send to the device from processes. This is done by opening the device file for output and writing to it, just like writing to a file. In the following example, this is implemented by device_write.
SGI TPL (Linux: Developer/Lx_KMPG - Talking to Device Files (writes and IOCTLs))
Blogged with the Flock Browser

0 comments