From mboxrd@z Thu Jan 1 00:00:00 1970 From: MS Colclough Date: Sat, 24 Jun 2006 01:58:21 +0000 Subject: swapping interface names (again) Message-Id: <449C9C3D.30601@bham.ac.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Sorry to labour this point. I understand that swapping eth0 and eth1 (should that prove necessary because of the initial ordering) can be done by an application like ifrename, by making use of a temporary name and invoking dev_change_name() in the kernel. But does the recent answer: On 2006-06-15 06:29, Kay Sievers wrote: ... > You probably try to rename the interface to an already existing > name. If you want to swap names, you have to give one interface > a temporary name first. imply that the whole process can be done by some udev rules that run at boot time? If so, how please? Personally, I am happier with meaningful names, which I know how to substitute using udev, but we have some users (and scripts!) who would be happier with the old names, nailed to particular interfaces. Thanks, Mark Zenwalk udev warrior Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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