Re: original interface name? (5.*)

From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 09/10/04

  • Next message: Brooks Davis: "Re: original interface name? (5.*)"
    Date: Fri, 10 Sep 2004 12:32:02 -0700
    To: Valentin Nechayev <netch@lucky.net>
    
    
    

    On Fri, Sep 10, 2004 at 10:18:31PM +0300, Valentin Nechayev wrote:
    > Hi,
    > is there a stable way to determine original interface name (before
    > any renaming) in 5.3? I.e. as driver + sequence number?

    What do you want it for and where do you want it? I think there were
    plans to export if_dname and if_dunit via sysctls, but I don't think
    that ever happened and they aren't really ment to be user visiable.
    There's also no requirement that ("%s%d", if_dname, if_dunit) ever have
    been the name of the interface (for instance in enhanced cloners such as
    stf(4) and vlan(4)).

    -- Brooks

    -- 
    Any statement of the form "X is the one, true Y" is FALSE.
    PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
    
    



  • Next message: Brooks Davis: "Re: original interface name? (5.*)"