From owner-freebsd-current@FreeBSD.ORG Thu Sep 29 08:30:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6648F16A41F; Thu, 29 Sep 2005 08:30:08 +0000 (GMT) (envelope-from raglon@packetfront.com) Received: from mail.packetfront.com (mail.packetfront.com [212.247.6.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE98343D48; Thu, 29 Sep 2005 08:30:07 +0000 (GMT) (envelope-from raglon@packetfront.com) Received: from localhost (localhost [127.0.0.1]) by mail.packetfront.com (Postfix) with ESMTP id 19DDEA3F7F; Thu, 29 Sep 2005 10:30:05 +0200 (CEST) Received: from mail.packetfront.com ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07304-04; Thu, 29 Sep 2005 10:30:04 +0200 (CEST) Received: from [192.168.1.159] (unknown [192.168.1.159]) by mail.packetfront.com (Postfix) with ESMTP id D3EBCA3F7B; Thu, 29 Sep 2005 10:30:04 +0200 (CEST) Message-ID: <433BA5B4.7020506@packetfront.com> Date: Thu, 29 Sep 2005 10:28:36 +0200 From: Ragnar Lonn User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yar Tikhiy References: <20050922104104.GA13539@comp.chem.msu.su> <20050925213741.GG15981@odin.ac.hmc.edu> <20050928110413.GE86457@comp.chem.msu.su> In-Reply-To: <20050928110413.GE86457@comp.chem.msu.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at packetfront.com X-Mailman-Approved-At: Thu, 29 Sep 2005 11:53:46 +0000 Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: "ifconfig -vlandev" syntax X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 08:30:08 -0000 Yar Tikhiy wrote: >On Sun, Sep 25, 2005 at 02:37:41PM -0700, Brooks Davis wrote: > > >>On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: >> >> >>>As our ifconfig(8) is growing more options for special interface >>>types, inconsistencies sneak into their syntax. In particular, >>>-vlandev takes a useless argument (vlan(4) cannot attach to more >>>than one parent anyway) while, e.g., -carpdev doesn't need one. >>>Personally, I like the latter since having to type unneeded words >>>on the command line annoys me. Do you think that making -vlandev >>>need no arguments in CURRENT would break many existing things? >>> >>> >>I agree the argument is useless. Unfortunatly, it's going to be hard to >>deprecate the old syntax so we may need to keep it around. >> >> > >Alas, there doesn't seem to exist an easy way to support both >syntaxes in the ifconfig(8) parameter parser. Perhaps we can > > You could always introduce a command-line switch that enabled the new syntax ;) /Ragnar