From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 23 Jan 2004 02:59:44 +0000 Subject: Re: using udev for network devices? Message-Id: <20040123025944.GA16893@kroah.com> List-Id: References: <26879984$10748155624010624ac05fc8.26438349@config3.schlund.de> In-Reply-To: <26879984$10748155624010624ac05fc8.26438349@config3.schlund.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Jan 23, 2004 at 01:06:01AM +0100, Arnd Bergmann wrote: > The attached patch adds code to use the SIOCSIFNAME ioctl > for naming network devices from udev. This is a solution to > the problem of persisting naming for network devices that > don't have a MAC address. The problem is very common for > virtual network devices on s390, but I'm sure others have it > as well. > > Note that this is just proof-of-concept. The code is missing > some checks and I'm not sure if udev is the right place > to this (maybe an libsysfs'ified extended nameif or a new > tool might be better). Nice patch, but I really think that a libsysfs'ified version of nameif would be the better place for this. I also think there are some Nokia people with some patches to nameif that do much the same thing (but I think they rely on pci ids.) But if the nameif maintainers, and the network developers think that udev is an approiate tool to name network devices, I could be convinced... thanks, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel