[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210406134240.wwumpnrzfjbttnmd@eve.qyliss.net>
Date: Tue, 6 Apr 2021 13:42:40 +0000
From: Alyssa Ross <hi@...ssa.is>
To: netdev@...r.kernel.org
Subject: [iproute2] finding the name of a TAP created with %d
If I do
ip tuntap add name tap%d mode tap
then a TAP device with a name like "tap0", "tap1", etc. will be created.
But there's no way for me to find out which name was chosen for the
device created by that command.
Perhaps ip should print the name of tuntap devices after they're
created?
I'd be interested in sending a patch, but I'd need some guidance on how
exactly it should work. Would there be any harm in always printing it?
Should it be behind a flag? Or just when the name contains a `%'?
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists