If I know a device's major device number how do I know which kernel module this relates to? In hpux I can use lsdev to see a list of major numbers and their associated modules names - is there an equivalent in RHEL 7.x ?

cat /proc/devices

should do the trick

  • 2
    Please elaborate (and properly format) your answer. – countermode Jul 6 '17 at 16:11

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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