From owner-freebsd-current@FreeBSD.ORG Tue Nov 30 17:30:12 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B12B71065696; Tue, 30 Nov 2010 17:30:12 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8FE8FC15; Tue, 30 Nov 2010 17:30:02 +0000 (UTC) Received: by wwf26 with SMTP id 26so1731409wwf.31 for ; Tue, 30 Nov 2010 09:30:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nD0W2HYFEaXS7pJw7Da5oYrljbqiXxrLxLD1Si5KWRs=; b=mkI71XO70xOldqcL9sNQUfk69r8o2wWcFyI9FlBykT7QdukoFIu3zbNTa1buIr+pbt KFE5nuKIC5cqFHWmcPnsqBdMK7Wx+UJ/DPUs+9pyBc1ppxE8Dc2bNhoNNyxKaY8BnaDd kr1UMLA88e/Kj2g891Hocrl2hjduVJ/KHTAiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FNhI5X6Us9K9ZRlBTflQY8H283hnlYJqU8GUu3j2ALASSWC+ifE07BUf8f7J+ofbC1 OQjs+KjL+Bt4FICAwC4cG1HDzanxYcvaNSAZ3hjf4C2obAICvH6Y2Gt/6MnVkAI0d5bR MVR8My6gdollpFmj7YLh+U7ELpWOYx1sDa/9k= MIME-Version: 1.0 Received: by 10.227.157.148 with SMTP id b20mr8073739wbx.14.1291138201930; Tue, 30 Nov 2010 09:30:01 -0800 (PST) Received: by 10.216.12.80 with HTTP; Tue, 30 Nov 2010 09:30:01 -0800 (PST) In-Reply-To: References: Date: Tue, 30 Nov 2010 11:30:01 -0600 Message-ID: From: Brandon Gooch To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current , weongyo@freebsd.org, Hans Petter Selasky Subject: Re: More "noise" in ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 17:30:12 -0000 On Tue, Nov 30, 2010 at 11:21 AM, Garrett Cooper wrote= : > =A0 =A0Just updated to HEAD and I saw the recent ifconfig, usb ethernet, > et all changes: > > $ ifconfig > usbus0: flags=3D0<> metric 0 mtu 0 > usbus1: flags=3D0<> metric 0 mtu 0 > usbus2: flags=3D0<> metric 0 mtu 0 > usbus3: flags=3D0<> metric 0 mtu 0 > msk0: flags=3D8843 metric 0 mtu 1= 500 > =A0 =A0 =A0 =A0options=3Dc011b > =A0 =A0 =A0 =A0ether 00:1d:60:b6:eb:97 > =A0 =A0 =A0 =A0inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.= 255 > =A0 =A0 =A0 =A0media: Ethernet autoselect (1000baseT > ) > =A0 =A0 =A0 =A0status: active > usbus4: flags=3D0<> metric 0 mtu 0 > usbus5: flags=3D0<> metric 0 mtu 0 > usbus6: flags=3D0<> metric 0 mtu 0 > usbus7: flags=3D0<> metric 0 mtu 0 > lo0: flags=3D8049 metric 0 mtu 16384 > =A0 =A0 =A0 =A0options=3D3 > =A0 =A0 =A0 =A0inet 127.0.0.1 netmask 0xff000000 > $ ifconfig -l > usbus0 usbus1 usbus2 usbus3 msk0 usbus4 usbus5 usbus6 usbus7 lo0 > > =A0 =A0I don't have any USB ethernet devices, so I would expect usbus, et > all to be blank, but this would break a few (dumb) scenarios we have > at my work where it goes and looks at ifconfig -l (of course I've > tried convincing others to use ifconfig -l inet instead, but that was > to no avail). > =A0 =A0This could potentially break other dumb scripts as well. > =A0 =A0So the question is: what are we gaining with this additional, ters= e output? > Thanks, > -Garrett I believe a patch has been proposed that would eliminate the usbus devices from ifconfig output: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021542.htm= l -Brandon