Skip to contentSkip to conversation

All my Pcmcia cards are 'eth0'

PATCH Andi Kleen 2 participants 2 messages Nov 21, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#2 lore raw
Quoted 4 lines · Bill Nottingham

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...

Adding such swapping should not be very hard if someone is motivated. Interestingly you're the first to complain about it missing...

-Andi (who wrote nameif originally)

#3 lore raw
Quoted 6 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...

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?

Bill