[illumos-Developer] making -a default for ifconfig?

Garrett D'Amore garrett at nexenta.com
Sun May 29 21:14:13 PDT 2011


If its conventional across other unix platforms, and not just Linux, then I suppose this is one of those cases where the familiarity improvement is a net win.

  -- Garrett D'Amore

On May 30, 2011, at 2:33 AM, "Joshua M. Clulow" <josh at sysmgr.org> wrote:

> On 30 May 2011 08:18, Bayard Bell <buffer.g.overflow at googlemail.com> wrote:
>> Because you've got it backwards from where I'm standing. If the reliable way to get "ifconfig -a" output across platforms is to type "ifconfig -a", that's what most people are going to learn, unless maybe they think of Unix as being the implementation they use and nothing else. I'd honestly expect that most Illumos users are more ecumenical than that. If you have an environment where you want the same thing across platforms, you'll know that all the platform aren't imminently going to make "-a" the default behaviour, so you'll use environment changes which can be made to work across platforms instead. Given this is one of those things where it's faster to type three characters than it is to remember which platform does or doesn't need those three characters, it's not fixed if you can't take it with you.
> 
> Which modern UNIX platforms don't currently have "-a" as the default
> behaviour?  Certainly the Linux, BSD and Mac OS hosts I have available
> all report a list of configured interfaces with no arguments to
> ifconfig.  This is a small change to get on board with what appears at
> this point to be convention, rather than to continue to require people
> who want uniformity to privately maintain libraries of shell glue.
> 
> -- 
> Joshua M. Clulow
> UNIX Admin/Developer
> http://blog.sysmgr.org
> 
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer



More information about the Developer mailing list