|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 05 Feb 2004 23:23:16 To : All Subject : 5.x news --------------------------------------------------------------------------------
> brooks 2004/02/03 18:55:46 PST
>
> FreeBSD src repository
>
> Modified files:
> sbin/ifconfig ifconfig.8 ifconfig.c
> Log:
> Add ifconfig support for network interface renaming. In the process,
> reorganize the printing of the interface name when using wildcard
> cloning so it is not printed if it we either immediately rename or
> destroy the interface.
This means you can give an interface any name up to 15 characters
(IFNAMSIZ-1) with a command like:
ifconfig xl0 name wired
I've been using this one in /etc/rc.early on my laptop to test the
renaming code. You can rename an interface at any time, but there
are likely to be edge cases in userland programs that don't like the
interface name changing under them. In most cases, this is a bug in the
program.
There are also programs that assume interface names are fairly short
(4-5 characters including the unit). Nothing has been done to address
this issue.
Please report edge cases to me and the -net list.
-- Brooks
... Гоpе ты мое аутлуковое!
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22214022983f.html, оценка из 5, голосов 10
|