ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
The connection between a device file and its device driver is based on the:
Correct Answer: A — Number of the device file (device number)
In Linux, the connection between a device file and its device driver is established through the device number (comprising the major and minor numbers), not the name. The major number tells the kernel which driver to invoke, while the minor number identifies the specific device. The device file name in /dev is only for human-readable identification; the kernel uses the inode's device number to make the actual driver dispatch.