From: Anton Farygin <rider@altlinux.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] А не пойти ли нам ... на module-init-tools
Date: Tue, 11 Jan 2005 16:52:12 +0300
Message-ID: <41E3DA0C.2060109@altlinux.com> (raw)
In-Reply-To: <20050111133101.GA7073@basalt.office.altlinux.org>
Dmitry V. Levin wrote:
>Hi,
>
>On Tue, Jan 11, 2005 at 04:16:12PM +0300, Anton Farygin wrote:
>
>
>>Господа, есть тема для обсуждения - переход на module-init-tools для 2.6
>>ядра.
>>
>>Когда-то давным давно мы отказались от перехода - module-init-tools был
>>слабый, кривой и ужасный.
>>
>>Сейчас все меняется, module-init-tools стал несколько лучше, да и
>>потребность в сильно продвинутом языке доступном в modules.conf через
>>modutils практически отпала в связи с появлением udev/hotplug/libhw и т.д.
>>
>>
>
>Расскажи подробнее, пожалуйста, каким образом появление
>udev/hotplug/libhw/etc делает modutils ненужным.
>
>
Не modutils, а языка в modules.conf.
modprobe, depmod, insmod и т.д. естественно остается.
Просто многие навороченные конструкции, которые можно было делать в
modules.conf переползают в конфиги udev (/etc/dev.d/*)
Например тот же options остается, а выполнение команд после загрузки
модуля можно перенести в /etc/dev.d/ или в hotplug. (хотя можно и
оставить в /etc/modprobe.conf)
Вообще надо подумать.. список команд в module-init-tools:
alias
options
install
remove
include
с помощью которых описывается вся функциональность modules.conf.
А в modutils:
[add] above module module_list
alias alias_name result
[add] below module module_list
define VARIABLE WORD
depfile=A_PATH
else
elseif EXPRESSION
endif
if EXPRESSION
include PATH_TO_CONFIG_FILE
insmod_opt=GENERIC_OPTIONS_TO_INSMOD
install module command ...
keep
[add] options module MODULE_SPECIFIC_OPTIONS
path=A_PATH
path[TAG]=A_PATH
generic_stringfile=A_PATH
pcimapfile=A_PATH
isapnpmapfile=A_PATH
usbmapfile=A_PATH
parportmapfile=A_PATH
ieee1394mapfile=A_PATH
pnpbiosmapfile=A_PATH
[add] probe name module_list
[add] probeall name module_list
prune filename
post-install module command ...
post-remove module command ...
pre-install module command ...
pre-remove module command ...
remove module command ...
persistdir directory_name
Насколько мы используем все то, чего нет в modules-init-tools ?
Rgds,
Rider
next prev parent reply other threads:[~2005-01-11 13:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 13:16 Anton Farygin
2005-01-11 13:22 ` Genix
2005-01-11 13:42 ` Anton Farygin
2005-01-11 13:31 ` Dmitry V. Levin
2005-01-11 13:52 ` Anton Farygin [this message]
2005-01-11 13:58 ` Вячеслав Диконов
2005-01-11 14:02 ` Anton Farygin
2005-01-12 15:07 ` Вячеслав Диконов
2005-01-12 15:11 ` Вячеслав Диконов
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=41E3DA0C.2060109@altlinux.com \
--to=rider@altlinux.com \
--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