Re: How to tell if a network interface was renamed (and from what)

From: Jamie Landeg-Jones <jamie_at_catflap.org>
Date: Wed, 22 Nov 2023 02:03:31 UTC
Mike Karels <mike@karels.net> wrote:

> Here, interface-name was a placeholder for the current name of the
> interface.  My newer code prints "drivername: igb1" at the end of
> the list of values for "ifconfig $interface-name" or "ifconfig -a"
> if the -D option is given.  I decided that it was better to be able
> to get all the translations at once (for humans, anyway).

Ahhh, I get you. Sorry for the confusion.

I think your solution is perfect.

Cheers, Jamie