I found this for network devices:

ls -l /sys/class/net/eth0/device/driver

lrwxrwxrwx 1 root root 0 2006-02-09 14:16 /sys/class/net/eth0/device/driver
-> ../../../../bus/pci/drivers/e1000

which is what I had been looking for.


On Tue, May 18, 2010 at 5:14 PM, Mayank Kaushik <[email protected]>wrote:

> Hi everyone,
>
> Sorry if this is a dumb question. For a device node in the /dev directory,
> how do i figure out which driver is handling that node? I'm looking for a
> way to do this from the shell prompt.
>
> Thanks,
> -Mayank
>



-- 
Regards,
Mayank

Reply via email to