Re: Getting driver module name from device node?

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

 



Mayank any question is not dumb.Had it been so many of us would not
have been subscribed to this list.

On Thu, Jun 3, 2010 at 12:34 AM, Mayank Kaushik <mayank.utexas@xxxxxxxxx> wrote:
> 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
>



-- 
Tapas

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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