Re: "ifconfig -vlandev" syntax

From: Yar Tikhiy (yar_at_comp.chem.msu.su)
Date: 09/28/05

  • Next message: Yar Tikhiy: "Re: "ifconfig -vlandev" syntax"
    Date: Wed, 28 Sep 2005 15:04:13 +0400
    To: Brooks Davis <brooks@one-eyed-alien.net>
    
    

    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
    survive the pain of syntax change in CURRENT only, with a
    heads-up message sent, release notes updated, etc? I wonder
    if many people use "ifconfig -vlandev XXX" in automated tools.

    -- 
    Yar
    _______________________________________________
    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: "ifconfig -vlandev" syntax
      ... inconsistencies sneak into their syntax. ... I like the latter since having to type unneeded words ... > deprecate the old syntax so we may need to keep it around. ... survive the pain of syntax change in CURRENT only, ...
      (freebsd-net)
    • "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: Conversion from 2003 to 2005 just too hard
      ... >I understand your pain, Peter - but for about an year and a half, it was ... >pretty obvious that investing time in MC++ code would not be such a smart ... >sales of my book (which targetted the old syntax). ... Isn't it pain in the ass situation to suffer a monololists stategies? ...
      (microsoft.public.dotnet.languages.vc)
    • Re: Anonymous methods, blocks etc. (Cont. default block params)
      ... denote it as ugly. ... * It's a pain to type on a US English keyboard. ... I don't know how to convince anyone of this, but in my heart of hearts it's like a right hand side missing ... The syntax being discussed can only be justified as some sort of symbolic link or something. ...
      (comp.lang.ruby)