[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ifconfig v2
Le 14/06/2013 10:20, Lars Schotte a écrit :
On Thu, 13 Jun 2013 21:00:02 +0200
Christoph Badura <bad%bsd.de@localhost> wrote:
On Tue, Jun 11, 2013 at 09:50:24PM -0500, David Young wrote:
> I was just reminded what improvements can be made to ifconfig
> when I read this ifconfig output that appeared on current-users
I gather there are two crucial points to your proposal:
- you want to display interface configuration information in a more
format more friendly to humans.
- you don't want to remember to have to use a special command line
Others have pointed out that changing ifconfig's default output
But there is an easy alternative. Produce the new format under a
different name. You could call it "ifinfo". It's even shorter to
I do not know what you are arguing all the time about.
Some of you seen the GNU/Linux "ip" command? Maybe a good improvement
could look like a combination of the Linux "ip" and "iw" commands.
I don't think so. Today "ip" is used for just about anything and not
just "IP configuration", but also device options and SR-IOV virtual
functions. Beware of one size fits all commands, they tend to become
ugly as time goes by. IMHO "ip" is a mess nowadays.
In the case of "ip addr show", the output is indeed synthetic and
convenient, but "ip" syntax is just cumbersome. Please, no, don't turn
ifconfig into "ip+iw". I would rather favor an explicit flag to give a
more useful output, or have a _careful_ look at what others OS did. Just
look at the horrid mess created by "ip" when you configure an IP alias,
and then try to manipulate it through ifconfig. And that's one example
among many (route/source routing, virtual functions, ...)
Main Index |
Thread Index |