[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091013220516.GA9879@auslistsprd01.us.dell.com>
Date: Tue, 13 Oct 2009 17:05:16 -0500
From: Matt Domsch <Matt_Domsch@...l.com>
To: Greg KH <greg@...ah.com>
Cc: Jordan_Hargrave@...l.com, Narendra_K@...l.com, dannf@...com,
netdev@...r.kernel.org, linux-hotplug@...r.kernel.org,
Charles_Rose@...l.com
Subject: Re: PATCH: Network Device Naming mechanism and policy
On Tue, Oct 13, 2009 at 01:19:31PM -0700, Greg KH wrote:
> On Tue, Oct 13, 2009 at 03:00:59PM -0500, Jordan_Hargrave@...l.com wrote:
> > We have developed a mapping library that will convert the
> > user-friendly symlink names to the kernel names necessary for socket
> > ioctls. All network tools that normally take ethX as argument have
> > been modified to use this mapping library. Usually it's just a
> > one-line addition when parsing the command line arguments.
>
> Either I missed this in the first message in this thread, or this was
> never stated before, but that is nice. Where is this library,
It was not noted in the initial patch post, but I did note it
immediately thereafter.
Let me also note that we are prepared to have userspace consumers of
this new character device node.
http://linux.dell.com/wiki/index.php/Oss/libnetdevname
notes how the kernel patch will interact with udev, describes the new
library helper function in libnetdevname, and has patches for
net-tools, iproute2, and ethtool to make use of the helper function.
As has been noted here, MAC addresses are not necessarily unique to an
interface. As such, we are not proposing a net/by-mac/* symlink to
/dev/netdev/*.
> and will it be accepted by the upstream tool maintainers?
Unknown, we haven't proposed it to any yet as it's irrelevant until
there is general acceptance of the approach (kernel or otherwise). I
figured we'd start with the kernel discussion, and show how it could
be used.
--
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists