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

Bug#881771: Unclear which interface name will be used



On Tue, 23 Apr 2019 21:05:05 +0100
Justin B Rye <justin.byam.rye@gmail.com> wrote:

> Greg Wooledge wrote:
> > In the release notes, there's a udevadm command which is supposed to
> > tell us what the new interface name will be, but I had some trouble
> > interpreting the output.
> > 
> > wooledg:~$ udevadm test-builtin net_id /sys/class/net/eno1
> > 2>/dev/null ID_NET_NAMING_SCHEME=v240
> > ID_NET_NAME_MAC=enxa08cfdc389e0
> > ID_OUI_FROM_DATABASE=Hewlett Packard
> > ID_NET_NAME_ONBOARD=eno1
> > ID_NET_LABEL_ONBOARD=enOnboard Lan
> > ID_NET_NAME_PATH=enp0s31f6  
> 
> Adding a "| grep ID_NET_NAME" would still leave three hits; is it
> worth the extra complication?

No.  At least not for me because I'd still be confused as to
which ID_NET_NAME* will be used.

Regards,

Karl <kop@karlpinc.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein


Reply to: