ng_ether and vlan interfaces

Julian Elischer julian at freebsd.org
Tue Feb 15 19:08:29 UTC 2011


On 2/15/11 8:53 AM, Arnaud Lacombe wrote:
> Hi,
>
> On Tue, Feb 15, 2011 at 11:30 AM, Julian Elischer<julian at freebsd.org>  wrote:
>> changing it to '_' might be accceptable,  '.' is much like '/' in th
>> filesystem.
>> it is a separator. You can't have it in the name.
>> a patch that converted . to _ would be a nice idea.
>> please ensure that the man page is updated as well.
>>
> Doesn't FreeBSD care about kernel/userland backward interface
> compatibility at all ? ie. will all my scripts assuming '.' as a
> separator need to also check the FreeBSD version to use whatever path
> separator ? How would you do that with bare ngctl script, which cannot
> be really that evolved ? How do you deal with node in the wild already
> using '_' in their name ?

well you can't have '.' as it is not a negotiable point..
    '.' is the separator in netgraph paths.. like em0:up.raw.inet  
might be such a path.

do you want to have filenames with '/' in them as well?

note: you can rename the interfaces to have '.' in them if you want I 
think..
  just not the netgraph names





> Thanks,
>   - Arnaud
>
>



More information about the freebsd-net mailing list