From: Kurt Van Dijck <kurt.van.dijck@eia.be>
To: Matt Domsch <Matt_Domsch@dell.com>
Cc: netdev@vger.kernel.org, linux-hotplug@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: Network Device Naming mechanism and policy
Date: Tue, 31 Mar 2009 16:07:34 +0200 [thread overview]
Message-ID: <20090331140733.GF6321@e-circ.dyndns.org> (raw)
In-Reply-To: <20090324154617.GA16332@auslistsprd01.us.dell.com>
My idea as a user, having configured some servers:
On Tue, Mar 24, 2009 at 05:46:17PM +0200, Matt Domsch wrote:
>
> Problem: Users expect on-motherboard NICs to be named eth0..ethN. This can be difficult to achieve.
with kernel point of view, there should be no preference. If users
expect some numbering, I believe udev provides all the tools.
>
> Ethernet device names are initially assigned by the kernel, and may be
> changed by udev or nameif in userspace. The initial name assigned by
> the kernel is in monotonically increasing order, starting with eth0.
> In this instance, the enumeration directly leads to an assigned name.
the problem here is the monotonic increasing order. I never rename ethX
back to the monotonic ethX numbering. IMHO, renaming eth0 to eth1 sounds
redundant.
I rename ethx to lan, wan, wlan, remote, lan0, lan1, ...
This naming _cannot_ conflict.
>
>
> To ease this complication, SMBIOS 2.6 includes a mechanism for
> BIOS to specify its expected ordering of devices, for naming
> purposes. Tools such as biosdevname use this information.
I'd preferrably not rely on bios tools, not every system has a (stable) bios.
>
>
next prev parent reply other threads:[~2009-03-31 14:23 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 15:46 Matt Domsch
2009-03-24 16:21 ` Patrick McHardy
2009-03-24 16:28 ` Kay Sievers
2009-03-24 16:38 ` Patrick McHardy
2009-03-24 16:40 ` Dan Williams
2009-03-24 17:00 ` Alan Cox
2009-03-24 17:04 ` Patrick McHardy
2009-03-24 18:51 ` david
2009-03-24 21:02 ` Alan Cox
2009-03-24 23:14 ` Greg KH
2009-03-24 16:42 ` Karl O. Pinc
2009-03-24 17:45 ` Matt Domsch
2009-03-24 17:02 ` Scott James Remnant
2009-03-24 17:52 ` Matt Domsch
2009-03-24 18:12 ` Bill Nottingham
2009-03-24 18:20 ` Scott James Remnant
2009-03-24 18:49 ` david
2009-03-24 19:22 ` Matt Domsch
2009-03-24 22:57 ` David Miller
2009-03-25 20:22 ` Chris Friesen
2009-03-26 20:17 ` Dan Williams
2009-03-26 16:39 ` Matt Domsch
2009-03-26 20:16 ` Dan Williams
2009-03-27 16:06 ` Len Brown
2009-04-09 14:58 ` Matt Domsch
2009-03-31 14:07 ` Kurt Van Dijck [this message]
2009-08-05 19:50 Jordan_Hargrave
2009-08-05 21:49 ` Alan Jenkins
2009-08-06 8:15 ` Alan Jenkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090331140733.GF6321@e-circ.dyndns.org \
--to=kurt.van.dijck@eia.be \
--cc=Matt_Domsch@dell.com \
--cc=linux-hotplug@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®