[CentOS] device driver useage

Thu Oct 23 14:20:00 UTC 2008
Scott McClanahan <smcclanahan at forterrainc.com>

On Thu, 2008-10-23 at 13:22 +0200, Geoff Galitz wrote:
> 
> 
> Under Centos 5.X, how can I determine with 100% certainty what driver is
> associated with a given device other than referencing dmesg?  For example,
> what tool can I use to tell for sure what driver is attached to my eth0
> device?  
> 

One way is to crawl the sys file system.  On one of my systems the
driver can be seen by viewing the target in
the /sys/class/net/eth0/driver link.