Re: "ifconfig -vlandev" syntax

From: Ragnar Lonn (raglon_at_packetfront.com)
Date: 09/29/05

  • Next message: Yar Tikhiy: "Re: "ifconfig -vlandev" syntax"
    Date: Thu, 29 Sep 2005 10:28:36 +0200
    To: Yar Tikhiy <yar@comp.chem.msu.su>
    
    

    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

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Yar Tikhiy: "Re: "ifconfig -vlandev" syntax"

    Relevant Pages

    • Re: How to make 2 dimensinal aray in Perl $mat(x,y)?
      ... syntax isn't entirely useless. ... I never said it was useless. ... the same as "useless in this context". ... than dropping the arrow, which I disagree with. ...
      (comp.lang.perl.misc)
    • Form Reference Question (Getting Back Your Visual Basic 6.0 Goodies)
      ... I am struggling with reversing the syntax ... ... from other forms and other modules I would like to control Form1 ... which starts a routine myModuleCode, it would be nice if, in myModuleCode, ... the online help was useless (or perhaps it is I who is ...
      (microsoft.public.dotnet.languages.vb)
    • "ifconfig -vlandev" syntax
      ... inconsistencies sneak into their syntax. ... -vlandev takes a useless argument cannot attach to more ...
      (freebsd-current)
    • "ifconfig -vlandev" syntax
      ... inconsistencies sneak into their syntax. ... -vlandev takes a useless argument cannot attach to more ...
      (freebsd-net)
    • Re: "ifconfig -vlandev" syntax
      ... Yar Tikhiy wrote: ... >>I agree the argument is useless. ... >>deprecate the old syntax so we may need to keep it around. ...
      (freebsd-net)