ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following statements about major numbers in Linux device drivers is NOT true?
Correct Answer: C — Both: dynamic allocation is not possible AND major numbers cannot be shared among drivers
Both statements in option C are false: (1) Dynamic allocation of major numbers IS possible in Linux using alloc_chrdev_region() — the kernel assigns a free major number at runtime. (2) Major numbers CAN be shared among drivers in some cases (e.g., multiple drivers using the same major with different minor numbers). Therefore, option C (which combines two false statements) is the correct answer to 'which is NOT true'.