From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 10 Oct 2009 18:35:42 +0000 Subject: Re: PATCH: Network Device Naming mechanism and policy Message-Id: List-Id: References: <20091009140000.GA18765@mock.linuxdev.us.dell.com> <20091009210909.GA9836@auslistsprd01.us.dell.com> <20091009194401.036da080@nehalam> <20091010044056.GA5350@mock.linuxdev.us.dell.com> <20091010052308.GA12458@kroah.com> <20091010141124.82d226b8.billfink@mindspring.com> In-Reply-To: <20091010141124.82d226b8.billfink@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Bill Fink Cc: Greg KH , Matt Domsch , Stephen Hemminger , netdev@vger.kernel.org, linux-hotplug@vger.kernel.org, Narendra_K@dell.com, jordan_hargrave@dell.com On Sat, Oct 10, 2009 at 20:11, Bill Fink wrote: > No comment on the specific implementation decision, but I am in the > process of setting up a large number of test systems with identical > hardware configurations, and using a master disk image to clone all the > test systems.  The biggest pain in this process is identiying the MAC > addresses for each of the six or more network interfaces in each test > system (we want eth0...ethN to always reference the same physical port > on the test systems), and then having to modify the 70-persistent-net.rules > udev file and the HWADDR entry for all the ifcfg-ethX files to reflect > the correct MAC addresses.  It would be fantastic if there were some > mechanism for making this part of the process unnecessary. Udev creates the persistent rules only if no other rule set a name. Adding something like: SUBSYSTEM="net", KERNEL=""eth*", NAME="eth%n" in any earlier rules file before the udev generated one will skip all off the automatic udev rule creation. Kay