From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 9 12:07:14 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BFF1065675 for ; Sat, 9 Apr 2011 12:07:14 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id EB5D78FC16 for ; Sat, 9 Apr 2011 12:07:12 +0000 (UTC) Received: by pwj8 with SMTP id 8so2026914pwj.13 for ; Sat, 09 Apr 2011 05:07:12 -0700 (PDT) Received: by 10.142.131.1 with SMTP id e1mr2869972wfd.292.1302350831982; Sat, 09 Apr 2011 05:07:11 -0700 (PDT) Received: from dfleuriot.local ([83.167.62.196]) by mx.google.com with ESMTPS id x11sm5054414wfd.13.2011.04.09.05.07.10 (version=SSLv3 cipher=OTHER); Sat, 09 Apr 2011 05:07:11 -0700 (PDT) Message-ID: <4DA04BEB.6010608@my.gd> Date: Sat, 09 Apr 2011 14:07:07 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4D9EFAC6.4020906@lazybytes.org> <4D9F2B8D.3040104@lazybytes.org> <20110409045453.GA91335@DataIX.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: ifconfig output: ipv4 netmask format 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, 09 Apr 2011 12:07:14 -0000 On 4/9/11 7:33 AM, Garrett Cooper wrote: > > Although I see the value of your and Sergey's argument, the problem is > that it may cause unexpected breakage for other third parties that > depend on a particular behavior in FreeBSD as Bjoern and others have > suggested; I have a script at least that does properly parse out the > hex output in order to set IPs properly with ipmitool, and I would be > perturbed to have to hack around this further in my script. > > Thanks, > -Garrett > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" If the proposed change was made an option via a knob as has been suggested, that would leave your script unscathed. One might or might not like the option, and then choose to use it or disregard it. Given that one can configure their interfaces by giving a CIDR notation (like: ifconfig re0 inet 192.168.0.1/24) , it makes sense that one should be able to output the CIDR notation as well. I for one see absolutely no valid reason why the change should be rejected if it doesn't change ifconfig's default behaviour and doesn't cause any regression ? A valid reason would be: nobody wants it. But then, some people do seem to want it. I would like this option really, would prolly alias it while I'm at it.