From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 11 08:52:19 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 8EE781065673 for ; Mon, 11 Apr 2011 08:52:19 +0000 (UTC) (envelope-from boogie@lazybytes.org) Received: from mail.lazybytes.org (mail.lazybytes.org [195.54.209.3]) by mx1.freebsd.org (Postfix) with ESMTP id 487838FC17 for ; Mon, 11 Apr 2011 08:52:19 +0000 (UTC) Received: from [95.108.170.237] (dhcp170-237-red.yandex.net [95.108.170.237]) by mail.lazybytes.org (Postfix) with ESMTPSA id D75C4935; Mon, 11 Apr 2011 12:52:17 +0400 (MSD) Message-ID: <4DA2C166.1080804@lazybytes.org> Date: Mon, 11 Apr 2011 12:52:54 +0400 From: Sergey Vinogradov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Lanikai/3.1.9 MIME-Version: 1.0 To: Damien Fleuriot References: <4D9EFAC6.4020906@lazybytes.org> <4D9F2B8D.3040104@lazybytes.org> <20110409045453.GA91335@DataIX.net> <4DA04BEB.6010608@my.gd> In-Reply-To: <4DA04BEB.6010608@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (mail.lazybytes.org); Mon, 11 Apr 2011 12:52:17 +0400 (MSD) Cc: freebsd-hackers@freebsd.org 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: Mon, 11 Apr 2011 08:52:19 -0000 On 09.04.2011 16:07, Damien Fleuriot wrote: > > > 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. > _______________________________________________ > 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" I was going to write the very same thing. I can sign under every word of your message :) -- wbr, Boo