Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 11:08:42 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        Arnaud Lacombe <lacombar@gmail.com>
Cc:        Nikolay Denev <ndenev@gmail.com>, freebsd-net@freebsd.org
Subject:   Re: ng_ether and vlan interfaces
Message-ID:  <4D5ACF3A.3020008@freebsd.org>
In-Reply-To: <AANLkTim%2Bht=PjU3cg2e8AzReqFDW8pw_e-i1RYT3M2P4@mail.gmail.com>
References:  <D275511D-0502-48ED-9186-EF4BF42B372E@gmail.com>	<AANLkTi=bVv_M=2ShVos113Y6ROsJ3_M3Qp-wBP8=B=bH@mail.gmail.com>	<4D5AAA28.50408@freebsd.org> <AANLkTim%2Bht=PjU3cg2e8AzReqFDW8pw_e-i1RYT3M2P4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/15/11 8:53 AM, Arnaud Lacombe wrote:
> Hi,
>
> On Tue, Feb 15, 2011 at 11:30 AM, Julian Elischer<julian@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
>
>




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