udev & modalias files
From: Muni Sekhar <hidden>
Date: 2016-06-04 13:32:54
From: Muni Sekhar <hidden>
Date: 2016-06-04 13:32:54
On Sat, Jun 4, 2016 at 12:20 AM, Bj?rn Mork [off-list ref] wrote:
Muni Sekhar [off-list ref] writes:quoted
I see lot of modalias files under /sys directory. For e.g: # cat /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/modalias pci:v00001556d00005555sv00004000sd00000000bc08sc05i01 I would like to know which part of the kernel module creates sysfs modalias file?lots of different places. Do a "git grep modalias drivers/" to see many of them. That particular file is created by drivers/pci/pci-sysfs.c Bj?rn
Thanks Greg & Bj?rn. -- Thanks, Sekhar