From: Denis Ovsienko <pilot@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re[2]: [devel] hotplug + etcnet
Date: Fri, 17 Dec 2004 10:18:09 +0200 (EET)
Message-ID: <20041217100317.W96091@elefant.dgtu.donetsk.ua> (raw)
In-Reply-To: <111337810.20041216233455@altlinux.ru>
> А разве не логичнее сделать исключение для интерфесов типа lo
Резонно. Я заполнил options-lo.
> Правда что будет с системой если я захочу сделать 3 или больше
> loopback'ов я это использовал, когда тестировал несколько сайтов
> локально на ноутбуке привязывая их разным вируальным костам и ip
> адресам.
Должно работать, точно так же как и несколько dummy. Возможно, в таком
случае (несколько устройств на одном модуле) пока придётся использовать
modules.conf.
> DO> 2. Файлы /etc/net/ifaces/default/options-<тип> имеют
> DO> значение только в этом каталоге. Опции для интерфейса называются options.
>
> Т.е. предлагается из default копировать файл в котолог <iface-name> и
> там его редактировать
Общая идея видна из /etc/net/scripts/functions:
-------
# source default options
SourceIfNotEmpty `profiled_filename $IFACEDIR/default/options`
# then source default options for our iface type
SourceIfNotEmpty `profiled_filename $IFACEDIR/default/options-$TYPE`
# and finally source iface options
SourceIfNotEmpty `profiled_filename $MYIFACEDIR/options`
-------
Это сделано для того, чтобы какие-то вещи можно было переопределять
более или менее глобально, например, CONFIG_IPV6. Естественно, в каком
именно месте менять значение, нужно смотреть по ситуации. Довольно часто
достаточно в options конкретного интерфейса отразить именно отличия от
конфигурации по умолчанию.
--
DO4-UANIC
next prev parent reply other threads:[~2004-12-17 8:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-11 17:40 Denis Ovsienko
2004-12-14 6:36 ` Anton Farygin
2004-12-15 11:31 ` vserge
2004-12-15 12:12 ` Denis Ovsienko
2004-12-16 12:09 ` vserge
2004-12-16 12:48 ` Denis Ovsienko
2004-12-16 20:34 ` Re[2]: " Volkov Serge
2004-12-17 8:18 ` Denis Ovsienko [this message]
2004-12-17 10:54 ` vserge
2004-12-17 13:32 ` Denis Ovsienko
2004-12-17 17:44 ` [devel] " Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041217100317.W96091@elefant.dgtu.donetsk.ua \
--to=pilot@altlinux.ru \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git