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@xxxxxxxx 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 linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html