Linux: how do i know the module that exports a device node?
问题 If a have a /dev device node and its major/minor numbers how do i know the kernel module name that exported this node? 回答1: Short answer : cd /sys/dev/char/major:minor/device/driver/ ls -al | grep module Each device is generally associated with a driver, and this is all what the "device model" is about. The sysfs filesystem contains a representation of this devices and their associated driver. Unfortuantely, it seems not all sysfs have a representation of the device nodes, so this applyd only