From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-158951-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 57DC813838B
	for <garchives@archives.gentoo.org>; Fri, 26 Sep 2014 08:22:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DD15DE0ABB;
	Fri, 26 Sep 2014 08:22:38 +0000 (UTC)
Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B2CE4E09D8
	for <gentoo-user@lists.gentoo.org>; Fri, 26 Sep 2014 08:22:37 +0000 (UTC)
Received: by mail-ie0-f179.google.com with SMTP id tp5so10090124ieb.24
        for <gentoo-user@lists.gentoo.org>; Fri, 26 Sep 2014 01:22:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:content-transfer-encoding;
        bh=ah8wA8K8QSZqsURbyqQcV+fP1uNTX4mMDbJBzQhLHFw=;
        b=QX+X0zZIcLi1zummVvtoJNT6R7MbgEVEUG7wne4q22s8NRrl7BXKb0uA4HiVS0+0MR
         WxtQc+1NmLLtrpH18ISOu/GHtuhk6/csjTAKte1/i7i+TGtymuVyJrIvxalkqYYna0Mw
         RE6zExbWOyX32pDS3T5M2oLUn2Nl/8Ar5qYbNZOtu8g4F7AgQ53VeELcknN4di9qHkgb
         QY/LM62OrSB4aq7SVtFQYrxOZFbgIUDtRYJRTCq8mxVODvnjAy8aSMKdlY4fawIcAj+3
         7dWAWOslzGg5S9zZ+V6E4YKRjd2NyrmWL+hbRaf7ry9MHjOZYXRO8UhPPsd5wFw2+5q+
         F5Ew==
X-Received: by 10.43.68.206 with SMTP id xz14mr25030949icb.33.1411719756877;
 Fri, 26 Sep 2014 01:22:36 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.107.11.141 with HTTP; Fri, 26 Sep 2014 01:22:16 -0700 (PDT)
In-Reply-To: <20140926090759.7cf050e8@digimed.co.uk>
References: <loom.20140925T172011-995@post.gmane.org> <54245C36.50507@gentoo.org>
 <loom.20140925T205754-368@post.gmane.org> <20140926002320.GB21773@waltdnes.org>
 <5424DD13.3060208@gmail.com> <20140926090759.7cf050e8@digimed.co.uk>
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
Date: Fri, 26 Sep 2014 03:22:16 -0500
Message-ID: <CADPrc80Rbi2JqzsqVP3JR932yWmYjUo3HdnTr4LoFu3_XXWaLw@mail.gmail.com>
Subject: Re: [gentoo-user] Re: udev (viable) alternatives ?
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 69d04652-d2e1-42b6-a562-f08f8af38b84
X-Archives-Hash: ca725f768f0c6a0e04a875066a425c5e

On Fri, Sep 26, 2014 at 3:07 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Fri, 26 Sep 2014 05:27:15 +0200, Alan McKinnon wrote:
>
>> >   I buy machines with one ethernet interface.  What I find
>> > particularly annoying is this doublespeak about calling it
>> > "predictable".  Before the change, it was predicatbly "eth0".  Now,
>> > it's different on every different model.
>
>> It's not doublespeak, the interfaces are named exactly according to
>> where they are on the PCI bus. If you had two interfaces, they show up
>> to the kernel in random order by time and sometimes eth0/eth1 are nto
>> the same they were before the reboot.
>
> That may be true for PCI devices but not for USB ones. If you unplug a
> USB device and plug it back into the same port, it will get a different
> device number. The naming is more predictable, but it's not there yet.

That doesn't sound right. If unplugging a USB net device and plugging
it again *in the same port* results in a different device *name*, then
it is a bug and should be reported; the description of the algorithm
in [1] sounds like it should get always the same name for the same
port, unless I'm misunderstanding something.

Regards.

[1] http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-=
net_id.c#n51
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico