Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 14:06:34 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        Adrian Chadd <adrian@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, Willy Offermans <Willy@offermans.rompen.nl>, "freebsd-hardware@freebsd.org" <freebsd-hardware@freebsd.org>
Subject:   Re: control of order of inet devices
Message-ID:  <20130416190634.GH98205@lor.one-eyed-alien.net>
In-Reply-To: <CAOgwaMtVZoHkSVAxUpp-kYAKxQ9E4ntYPA0xkahdyzK8gkFDJQ@mail.gmail.com>
References:  <20130416135621.GE3286@vpn.offrom.nl> <20130416154423.GD98205@lor.one-eyed-alien.net> <CAJ-Vmokde3ZYyB_uYZeThHcPWzP9=g=DzN-ESJCvmM%2BKntDpow@mail.gmail.com> <20130416183618.GG98205@lor.one-eyed-alien.net> <CAOgwaMtVZoHkSVAxUpp-kYAKxQ9E4ntYPA0xkahdyzK8gkFDJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--NzX0AQGjRQPusK/O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 16, 2013 at 12:03:14PM -0700, Mehmet Erol Sanliturk wrote:
> On Tue, Apr 16, 2013 at 11:36 AM, Brooks Davis <brooks@freebsd.org> wrote:
>=20
> > 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
> >
>=20
>=20
> Fedora is using eth0 ,  ... , eth9 ,  but FreeBSD is using em* , re* , ..
> names which is much better than Fedora ( or similar distributions )
> approach .

As of Fedora 16 the default was changed:

http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Gu=
ide/appe-Consistent_Network_Device_Naming.html

-- Brooks

--NzX0AQGjRQPusK/O
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iD4DBQFRbaE5XY6L6fI4GtQRAibVAJdYxjwSha0r7Iwb/y3DVD40VCN1AKCd94Gs
NRQ0i9nK9GPVz6PAQoAwEw==
=e7T4
-----END PGP SIGNATURE-----

--NzX0AQGjRQPusK/O--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130416190634.GH98205>