Re: Getting driver module name from device node?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mayank.utexas@xxxxxxxxx> 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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux