Re: control of order of inet devices

Brooks Davis <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.hardware
Message-ID <[email protected]>
On Tue, Apr 16, 2013 at 10:08:00AM -0700, Adrian Chadd wrote:
> Since people keep asking about this; maybe it's time we added a hint
> to the bus code that allows for the unit to be set based on the pci
> bus / slot / etc.

I don't see how that would address Willy's request.  Neither the unit
number or the if_index of an interface effects its order in
getifaddrs() output.

With modern bus hierarchies, you probably don't want to use the unit
anyway as it loses too much information.  Some along the lines of
Fedora's Consistent Network Device Naming would likely be more useful.
That would be fairly easy to implement.

-- Brooks
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iD8DBQFRbZoiXY6L6fI4GtQRAnuJAJ9AU4LWOJ9Fx2XcFfXr3O6VznsC3ACdHU8N
z43Dv00XJBwtbzvt8wohuyQ=
=hIjv
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.