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

Tomasz Torcz tomek at pipebreaker.pl
Thu Jan 9 02:07:40 PST 2014


On Thu, Jan 09, 2014 at 10:59:34AM +0100, Robert Milasan wrote:
> 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
> 
> # lspci |grep Network
> 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
> Connection (rev 04)
> 
> enp0s25 seems wrong to me, or the slot is based on what?
> 
> Please clarify how to get this.

  0x19 = 25.  It's hexadecimal vs decimal.

-- 
Tomasz Torcz       ,,(...) today's high-end is tomorrow's embedded processor.''
xmpp: zdzichubg at chrome.pl                      -- Mitchell Blank on LKML



More information about the systemd-devel mailing list