From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 8 23:42:24 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68B0816A400 for ; Sat, 8 Apr 2006 23:42:24 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1853443D70 for ; Sat, 8 Apr 2006 23:42:15 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k38NgEQO020172; Sat, 8 Apr 2006 17:42:14 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44384A55.2010103@samsco.org> Date: Sat, 08 Apr 2006 17:42:13 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ceri Davies References: <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> <4437C9F6.5000008@samsco.org> <20060408233740.GA84768@submonkey.net> In-Reply-To: <20060408233740.GA84768@submonkey.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: hackers@freebsd.org Subject: Re: Using any network interface whatsoever X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 23:42:24 -0000 Ceri Davies wrote: > On Sat, Apr 08, 2006 at 08:34:30AM -0600, Scott Long wrote: > >>>>On Fri, Apr 07, 2006 at 11:53:42PM +0100, Ceri Davies wrote: > > >>>>>For the filesystem I can use geom_label and /dev/ufs/UnlikelyString, but >>>>>I'd >>>>>also like to have it try to configure whatever interfaces the machine >>>>>happens to have via DHCP. >>>>> >>>>>Other than specifying ifconfig_0="DHCP" once for every possible >>>>>value of >>>>>, is there a mechanism to do this already? >>>> >>>>ifconfig_DEFAULT >> >>Well, the real question is why we force the details of driver names onto >>users. Network and storage drivers are especially guilty of this, but >>tty devices also are annoying. > > > The current situation on BSD, where I can identify which interface is > meant by its type, is definitely preferable to the Linux situation where > eth0 may mean something different tomorrow depending on what is plugged > in. > > Since we can rename devices arbitrarily, I don't really see a problem > with respect to anything else. > > Ceri I'll say again, how does having em0, em1, em2, and em3 help me know what is going on with each of those interfaces? Scott