Re: [systemd-devel] How does udev determine onboard interface names

2021-12-02 Thread Andrei Borzenkov
On 02.12.2021 23:39, Ian Pilcher wrote:
> I.e., how does it determine that a particular interface is an on-board
> interface, and how does it determine the "number" of such an interface?
> 
> Thanks!
> 

It is looking at sysfs attributes (acpi_index, index and some others). Details
are in src/udev/udev-builtin-net_id.c, function dev_pci_onboard().


[systemd-devel] How does udev determine onboard interface names

2021-12-02 Thread Ian Pilcher

I.e., how does it determine that a particular interface is an on-board
interface, and how does it determine the "number" of such an interface?

Thanks!

--

 In Soviet Russia, Google searches you!