From owner-cvs-src@FreeBSD.ORG Sun Jan 21 20:52:19 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C963C16A403; Sun, 21 Jan 2007 20:52:19 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 60DF913C442; Sun, 21 Jan 2007 20:52:19 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.13.8/8.13.8/ALCHEMY.FRANKEN.DE) with ESMTP id l0LKnTUZ030175; Sun, 21 Jan 2007 21:49:39 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.13.8/8.13.8/Submit) id l0LKnTLf030174; Sun, 21 Jan 2007 21:49:29 +0100 (CET) (envelope-from marius) Date: Sun, 21 Jan 2007 21:49:29 +0100 From: Marius Strobl To: Sam Leffler Message-ID: <20070121204929.GA63345@alchemy.franken.de> References: <200701200056.l0K0uoVU042909@repoman.freebsd.org> <45B3C6FC.5090107@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45B3C6FC.5090107@errno.com> User-Agent: Mutt/1.4.2.2i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.8 ifmedia.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 20:52:19 -0000 On Sun, Jan 21, 2007 at 12:03:08PM -0800, Sam Leffler wrote: > Marius Strobl wrote: > > marius 2007-01-20 00:56:49 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/ifconfig ifconfig.8 ifmedia.c > > Log: > > - Display the media instance numbers and allow the user to set the active > > one. This is based on NetBSD but unlike NetBSD this implementation prints > > the instance number for all media instances and doesn't skip it for the > > first one as I don't see a reason to suppress it except for the vague > > reason to preserve the output for single-instance configurations. > > - Fix some whitespace nits. > > This overflows 80 cols for wireless devices. I'm sorry about that. > I suspect the information > is meaningless to most folks and can be safely hidden under the -v option. > > Alternatively we can take an axe to the media reporting for 802.11 > devices. It's pretty lame in it's present form. > Well, I think that the active media instance is equally interesting to the media type so I'd opt for the latter but I'm certainly biased as I've a bunch of different NICs that use more than one PHY... For 802.11 devices does the listing of the supported media also overflow 80 cols or is just the line regarding the status of the active media? Would it still overflow when shortening "instance" to "inst"? Marius