9acff30943
Suppose you're in a Hyper-V guest and are trying to use PCI passthrough. The ID_PATH that udev will construct for that looks something like "acpi-VMBUS:00-pci-b8c8:00:00.0", and obviously looking for "pci-" in the first four characters of that is going to not work. Instead, strstr. I suppose it's possible you could have _multiple_ PCI buses in the path, in which case you'd want strrstr, if that were a thing. |
||
---|---|---|
.. | ||
10-quirks.conf | ||
config-backends.h | ||
config.c | ||
dbus-api | ||
dbus-core.c | ||
fdi2iclass.py | ||
hal.c | ||
Makefile.am | ||
meson.build | ||
udev.c | ||
wscons.c | ||
x11-input.fdi |