Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2004 07:40:49 +0400
From:      Alex Semenyaka <flist@jabberwock.rinet.ru>
To:        "Louis A. Mamakos" <louie@transsys.com>
Cc:        Alex Semenyaka <flist@jabberwock.rinet.ru>
Subject:   Re: [RFC] ifconfig: match by link-level address
Message-ID:  <20040524034049.GA1022@qqmore.rinet.ru>
In-Reply-To: <20040523233737.219F720FC5@whizzo.transsys.com>
References:  <20040520162919.GA1971@straylight.m.ringlet.net> <20040520171833.GA22494@Odin.AC.HMC.Edu> <20040521133530.GA1403@qqmore.rinet.ru> <20040523233737.219F720FC5@whizzo.transsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 23, 2004 at 07:37:37PM -0400, Louis A. Mamakos wrote:
> >>> This could be the first step towards teaching rc.conf about something like
> >>> network_interfaces_rename="hw-00:03:0d:08:dc:a7 sis0int"
> >> I don't really like the idea of adding magic values to the interface
> >> namespace that only work with ifconfig.  If you want ifconfig to match
>> I agree, but there is another option: make such things not ifconfig-specific.
>> I mean that it could be done though renaming the interface into the some
>> lladdr-dependent name with fixed format. For example,
> This is all pretty interesting, though it seems like you'd only
> need to cobble together a shell script to do what you're after.

You've absolutely right and I wanted to propose it just on the base of
currently existing functionality (independently of this thread). However if
there will be automatic renaming things would be easier. Thus I decided to
combine both approaches since it leads to simple solution.

I would post my current changes (those giving the discussing functionality) to
the startup scripts as PR and send here the number. I'll do it if anybody will
express any interest in that. Actually those scripts could be changed in future
if ``ifconfig'' will provide such possibility out-of-box, and changes will be
seamless for users.

-- 
Sincerely,
Alex Semenyaka



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