From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Blin Date: Fri, 21 Jul 2006 11:57:36 +0000 Subject: Re: howto keep fixed name for the usbnet interface? Message-Id: List-Id: References: <44BFD599.4050005@cc.jyu.fi> In-Reply-To: <44BFD599.4050005@cc.jyu.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org md@Linux.IT (Marco d'Itri) writes: > On Jul 21, Andrey Borzenkov wrote: > >> It looks like MAC alone is not sufficient to uniquely identify and name = >> interface. > You need to ignore some devices. Look at the Debian package for details. > After my latest changes no more issues have been reported. It looks nice, it's very similar to the script we wrote in Mandriva, excepted it uses an interface pattern whitelist. The SYSFS{type}=3D"1" trick is quite interesting. Too bad the "all_interfaces" option obliges to duplicate the interface pattern (eth*|ath*|wlan*|ra*|sta*) BTW, shouldn't tr* interfaces be handled by this script as well? --=20 Olivier Blin - Mandriva ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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