Device files are interfaces of device drivers to user programs.

In Linux, is a device file implemented directly by its corresponding device driver, or by the OS kernel (excluding the device driver)?

  • udev might also be worth reading up on. – thrig Dec 8 '15 at 17:53

The kernel generates the device files, but functions such as read and write are mostly implemented by drivers that can be integrated in the kernel.

A good free (Creative Commons) book talks about it: Linux Device Drivers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.