Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Finding the current network devices (Greg Troxel) writes:

>But how is the ordering determined?  The basic issue is that you have
>cables plugged into ports and then interfaces appearing, and ordering is
>based on some probe order, somehow.

Probe in some order when you see it, then fix the name to the MAC address
so it stays the same even when interfaces come and go.

Breaks in some hotplug scenarios and of course when the NIC gets replaced
(e.g. replacement motherboard).

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index