Consistent device naming

Bruno Wolff III bruno at wolff.to
Thu May 15 01:50:08 UTC 2014


On Wed, May 14, 2014 at 15:35:37 -0700,
  CLOSE Dave <Dave.Close at us.thalesgroup.com> wrote:
>Bruno Wolff III wrote:
>
>>>> To exchange names, you need to use a temporary name and do three
>>>> renames. Pretty much like swapping to values using a temporary
>>>> variable.
>>>
>>> I can't find a way to do that with udev. Please enlighten me.
>>
>> I use "ip link set" to do that. I am not sure how you would do it
>> with udev.
>
>Thanks for the reference. But that can't be used after the interface is
>up, and my interfaces come up during boot. I think it must be udev or
>nothing, and nothing seems to win based on the link I posted previously.
>I still think the new naming system is broken /by design/.

I forgot to add that since it's been a while since I actually did it. You 
do have to set the link down before doing the rename. But you can use 
ip link to do that as well.


More information about the users mailing list