Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 12:52:54 +0400
From:      Sergey Vinogradov <boogie@lazybytes.org>
To:        Damien Fleuriot <ml@my.gd>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: ifconfig output: ipv4 netmask format
Message-ID:  <4DA2C166.1080804@lazybytes.org>
In-Reply-To: <4DA04BEB.6010608@my.gd>
References:  <4D9EFAC6.4020906@lazybytes.org>	<BANLkTimjsfUBPNwWVQ=wCtuDZRTFM9dGCA@mail.gmail.com>	<4D9F2B8D.3040104@lazybytes.org>	<20110409045453.GA91335@DataIX.net>	<BANLkTinCTvzPdHHw=iUQs_0-p=mW=Rb8Ew@mail.gmail.com> <4DA04BEB.6010608@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA2C166.1080804>