[systemd-devel] Possible net_id incorrect bus and/or slot

Robert Milasan rmilasan at suse.com
Thu Jan 9 01:59:34 PST 2014


Hello, just notice that my network card is named enp0s25, but when I do:

# readlink -f /sys/class/net/enp0s25
/sys/devices/pci0000:00/0000:00:19.0/net/enp0s25

and

# lspci |grep Network
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 04)

# udevadm test-builtin net_id /sys/class/net/enp0s25
calling: test-builtin
=== trie on-disk ===
tool version:          208
file size:         5968358 bytes
header size             80 bytes
strings            1302262 bytes
nodes              4666016 bytes
load module index
ID_NET_NAME_MAC=enx180373dbc331
ID_OUI_FROM_DATABASE=Dell Inc
ID_NET_NAME_PATH=enp0s25
unload module index

enp0s25 seems wrong to me, or the slot is based on what?

Please clarify how to get this.

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the systemd-devel mailing list