Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 02:03:31 +0000
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        mike@karels.net, jamie@catflap.org
Cc:        zlei@FreeBSD.org, kevans@FreeBSD.org, freebsd@igalic.co, freebsd-net@FreeBSD.org
Subject:   Re: How to tell if a network interface was renamed (and from what)
Message-ID:  <202311220203.3AM23Vtx058797@donotpassgo.dyslexicfish.net>
In-Reply-To: <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net>
References:  <pdHC0ObBkAbx2HfFIhWYaB5-dmQDEUzNTWvVVJAuJV7FWdWWeSwybVFD-uyBUxPlqDRpAW7D1aAZsbrTxEj9kqsq7ESgO41srPmS-PcXGqw=@igalic.co> <E5F5F61E-3827-404A-A46F-BBCF45A29A82@FreeBSD.org> <9eef5488-e8da-4edd-bc00-baeb5aaf4a23@FreeBSD.org> <ptnVEMJ_x48tdYePN4iYRiEW2vWqwulbEOUJ4dQ1cKGkxNXZPPfdEVHdJKNHFfs2onxNipVZKPwDZZKlDv1peS1Xttim1VitMFsdUiTkAKE=@igalic.co> <032BADD4-0A49-42E2-BAAB-40D2F76C64B9@FreeBSD.org> <rvRLOlpJc9xIf67ZwmZ4Si6TN2VtmIuyuguoQgEk5NTOeqsqkAwB_9KvlMbW6y-npSjCC2lmLVXbD4oIqyKJdDboThcWiehF_hU0L9D6GZc=@igalic.co> <31B38FCE-0B67-4122-A202-568150E971E1@karels.net> <202311220135.3AM1Z8ED054659@donotpassgo.dyslexicfish.net> <40C913A3-E5DC-4FC9-9ECE-937370EFD52D@karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311220203.3AM23Vtx058797>