Linux - How to list all device nodes using a specific device driver

1

I know I can see what driver is being used for a device node if I know the major and minor number of the device(see this link).

But I want to know if there's a way to list all device nodes that are using a particular driver by just giving the driver name.

Say the name of the device driver is 'vpfe-capture', then I'd want to know all device nodes using 'vpfe-capture'.

This would save the time of manually searching through each device node in /sys/dev/ just to see which nodes use a particular driver.

sager89

Posted 2014-03-18T17:48:34.737

Reputation: 460

No answers