All my Pcmcia cards are 'eth0'
Quoted 6 lines · Bill Nottingham
Quoted 4 lines · Andi Kleen
Quoted 3 lines
There are some situations where you have to jump through hoops because it can't atomically swap two device names (i.e., eth0 <-> eth1, but the code itself seems to work ok in use here...
Quoted 7 lines
Quoted 2 lines
Adding such swapping should not be very hard if someone is motivated. Interestingly you're the first to complain about it missing...
When I looked at it, I assumed it was a limitation of the kernel interface, in that it only operated on one device at a time... or are you talking about just doing the switch in nameif itself with a temporary device name?
Have you tried with nameif running from hotplug ? I'm sure
that would fix your problem, because the first device would be renamed before the second would even be created (but you may want to test).
That's probably a second reason why running nameif from
hotplug is the right way forward.
Quoted 1 line
Bill
Jean