tech-net archive

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

Re: Specifying names for tap interfaces

On 5/07/2012 5:34 AM, Manuel Bouyer wrote:
> On Wed, Jul 04, 2012 at 06:34:36PM +0100, Roger Pau Monne wrote:
>>> if I did read it properly, there's no way to know the driver and unit number
>>> once the name has been changed ?
>> Yes it is, drvctl -p <new_name>, will print the driver and unit number.
> OK, I see.
>>> Also, there is a change to bpf that looks unrelated. As it changes the
>>> semantic, this should at last be documented.
>> The change to bpf is explained in the email. It is changed to accept
>> interfaces not ending in a number, so you can use for example
>> foo2bar as an interface name.
> Dareen pointed out that such name would cause problems with various tools.
> I guess bpf is not the only place that needs to be fixed.

It is far better to accept "<name><number>" as a naming
constraint than to try and "fix" all of the code that in
one way or another expects it to be like that.


Home | Main Index | Thread Index | Old Index