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

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

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.