[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180220150426.2d2527c5@xeon-e3>
Date: Tue, 20 Feb 2018 15:04:26 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Serhey Popovych <serhe.popovych@...il.com>
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH iproute2-next v2 3/7] iplink: Use "dev" and "name"
parameters interchangeable when possible
On Tue, 20 Feb 2018 23:37:25 +0200
Serhey Popovych <serhe.popovych@...il.com> wrote:
> Both of them accept network device name as argument, but have different
> meaning:
>
> dev - is a device by it's name,
> name - name for specific device device.
>
> The only case where they treated separately is network device rename
> case where need to specify both ifindex and new name. In rest of the
> cases we can assume that dev == name.
I would rather keep name as only being a valid argument for set command.
And reject use of:
ip li show name eth0
Powered by blists - more mailing lists