[CentOS] OT: systemd Poll

Thu Apr 13 11:02:26 UTC 2017
Steve Clark <steve.clark at netwolves.com>

On 04/10/2017 05:17 PM, John R Pierce wrote:
> On 4/10/2017 1:57 PM, m.roth at 5-cent.us wrote:
>> In what universe are those "consistant" device names, as opposed to
>> eth[0...]? And how could it help automated scripts that you can run on
>> *any*  system you're administering?
> if I have a Intel gigE interface and a Marvell 10g interfaces, which one 
> is eth0 and why?
> Say its Intel on eth0 and Marvell on eth1, if I then add another intel, 
> is the Marvell now eth2 ?
In my experience the new interface would be eth2, because the startup scripts create a mac binding to ethx name in the
/etc/udev/rules.d/70-persistent-net.rules file, so even if the intel is probed before the marvel the scripts rename them to keep
them in the original order.