Re: renaming kernel devices [was: VIA EPIA EK: strange eth dev numbering]

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Tokarev <mjt@...>
Cc: Herbert Rosmanith <kernel@...>, <linux-kernel@...>
Date: Thursday, August 2, 2007 - 9:30 am

On Aug 2 2007 16:56, Michael Tokarev wrote:

Generally, the "link is xyz" message comes directly after loading the module,
so it should be eth0 before udev gets a chance to rename it. Or maybe not -
in which case, well, you're literally fubared, and your distro should put a
"renamed A to B" into syslog.


Oh I think it already has a "primary name" today --

$ readlink /sys/class/net/eth0/device
../../../../../devices/pci0000:00/0000:00:04.0

there is your primary name, and your secondary name is ethZ. :)


	Jan
-- 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
VIA EPIA EK: strange eth dev numbering, Herbert Rosmanith, (Thu Aug 2, 6:20 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 6:44 am)
Re: VIA EPIA EK: strange eth dev numbering, Michael Tokarev, (Thu Aug 2, 6:26 am)
Re: VIA EPIA EK: strange eth dev numbering, Herbert Rosmanith, (Thu Aug 2, 6:42 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 6:49 am)
Re: VIA EPIA EK: strange eth dev numbering, Herbert Rosmanith, (Thu Aug 2, 7:12 am)
Re: VIA EPIA EK: strange eth dev numbering, Herbert Rosmanith, (Thu Aug 2, 6:56 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 7:47 am)
Re: VIA EPIA EK: strange eth dev numbering, Michael Tokarev, (Thu Aug 2, 9:07 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 9:38 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 2:37 pm)
Re: VIA EPIA EK: strange eth dev numbering, Kay Sievers, (Thu Aug 2, 6:00 pm)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 6:39 pm)
Re: VIA EPIA EK: strange eth dev numbering, Kay Sievers, (Thu Aug 2, 6:49 pm)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Fri Aug 3, 3:46 am)
Re: VIA EPIA EK: strange eth dev numbering, Herbert Rosmanith, (Thu Aug 2, 8:00 am)
Re: VIA EPIA EK: strange eth dev numbering, Jan Engelhardt, (Thu Aug 2, 8:06 am)
Re: renaming kernel devices [was: VIA EPIA EK: strange eth d..., Jan Engelhardt, (Thu Aug 2, 9:30 am)