[systemd-devel] Udev won't rename interfaces that are already UP

Greg KH gregkh at linuxfoundation.org
Thu Feb 19 13:23:53 PST 2015


On Thu, Feb 19, 2015 at 11:06:04AM -0200, Giancarlo Razzolini wrote:
> On 19-02-2015 10:50, Tom Gundersen wrote:
> >
> > Won't work. Imagine you have two cards with the same driver. Now you
> > are back to having to number the cards. And that is what open BSD
> > does: numbers the cards based on probe order. The probe order is 
> > nondeterministic so you are not guaranteed the same order and hence
> > the same name on every boot.
> >
> 
> I believe that this might have been the case in a remote past. But,
> afaik, the current way is deterministic. I never ended up having name
> switchs with the same driver for a very long time.

Then you are lucky.  PCI can reorder device ids any time it wants to at
boot time.  I had a box that would do so every other boot, it made it
wonderful for fixing lots of bugs in distros.  Never assume PCI device
probe order is ever deterministic, because it isn't.

thanks,

greg k-h


More information about the systemd-devel mailing list