On Tue, 14 Feb 2006, Guus Sliepen wrote:

> The manual page says this about the -t option:
> 
> -t     Enable name takeover support. [...] This works only with kernel
> 2.6.X and if the other interface is down. Consequently, this is not
> compatible with Hotplug. [...] In any case, name swapping and the use of
> this feature is discouraged, and you are invited to choose unique and
> unambiguous names for your interfaces...
> 
> I think it is best to follow the advice in the last sentence.

further thoughts on this... if someone wants to follow the advice it's 
trivial even if -t has been specified -- they just don't use ethN for 
their device names.

however if someone (such as me) wants to ensure that eth0 remains a 
specific device no matter what module/udev/hotplug/etc. nonsense is going 
on to reorder my device boot order, i can choose to rename eth0 provided 
your init script uses the -t option.

especially if you've renumbered from S40 to S37 as i mentioned... then it 
should all occur before the interfaces come up (although it seems to work 
for me even at S40, but that could be because i don't bring up all the 
available ethernets on my box).

also if you put a comment in /etc/iftab saying "# name swapping may not 
work in all situations, see ifrename(8)" then it might avoid bug reports 
about name swapping not working.

-dean


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to