Re: Where and how does network device renaming happen?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kay Sievers wrote

> On Fri, Jul 24, 2009 at 08:43, Frank
> Steiner<fsteiner-mail1@xxxxxxxxxxxxxx> wrote:
> 
>> We've one hosts that always creates a 70-persistent-net.rules file with
>> SUBSYSTEM=="net",..., ATTR{type}=="1", KERNEL=="eth_s*", NAME="eth_s2_1"
>> SUBSYSTEM=="net",..., ATTR{type}=="1", KERNEL=="eth_s*", NAME="eth_s2_0"
> 
>> Can someone explain the renaming process a little bit? How can I debug
>> who is taking the devices names on this host? Is there a way to change that?
>> Of course I can change the rule files, but I want to understand *why* it
>> is created with eth_s2_0 instead of eth0.
> 
> Seems you have installed biosdevname, which you probably shouldn't if
> you don't want a different namespace.

That's right, it's indeed installed (comes by default in the package set
we are using). I'll remove it!

For this special host it turned out that the 70-persistent-net.rules
file specifying those strange names was transferred into the initrd,
so the devices were renamed in the initrd already, and thus, the names
the kernel was returning were eth_s2_x.

Thanks for your help!
cu,
Frank

-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux