ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] modules.conf
Date: Mon, 11 Aug 2003 17:58:21 +0400
Message-ID: <20030811135821.GA23310@basalt.office.altlinux.org> (raw)
In-Reply-To: <m3adawxztt.fsf@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]

On Wed, Jul 30, 2003 at 11:01:50AM +0400, Ed V. Bartosh wrote:
>  DVL> On Tue, Jul 29, 2003 at 09:13:32PM +0400, Ed V. Bartosh wrote:
>  >> Предлагаю несколько изменить схему формирования 
>  >> modules.conf, включив в него только include-ы, а эти самые инклюды
>  >> генерить каждой подсистеме (kudzu, lm_sensors, etc) отдельно. 
>  >> Это по-моему логичнее, красивее и надежнее, каждая подсистема пишет
>  >> только свой файл, а не переписывает общий.
> 
>  DVL> Красивее и логичнее было бы сделать так, как описано в
>  DVL> http://bugs.altlinux.ru/view_bug_advanced_page.php?f_id=0001998
> Не вижу разницы. Можно пояснить ?

Это уже не важно.
В modutils-2.4.25-alt2 я опробовал немного другую реализацию.

А именно, расширен синтаксис директивы include.
Например, "include /etc/modutils.d/" возьмет все файлы (регулярные или
ссылки на регулярные) из каталога /etc/modutils.d/, имена которых состоят
только из [[:alnum:]_-].

Таким образом, /etc/modules.conf оставлен локальному администратору.

>  >> 2. Для обучения mkinitrd понимать эти самые include в modules.conf

Боюсь что даже все include, а не только эти.

$ cat /lib/modutils/macros 
include /etc/modutils.d/


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-08-11 13:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 17:13 Ed V. Bartosh
2003-07-29 19:49 ` Dmitry V. Levin
2003-07-30  7:01   ` Ed V. Bartosh
2003-08-11 13:58     ` Dmitry V. Levin [this message]
2003-08-11 16:15       ` Ed V. Bartosh
2003-08-11 17:34         ` Dmitry V. Levin
2003-08-11 16:44           ` Ed V. Bartosh
2003-08-11 17:35           ` Dmitry V. Levin
2003-08-12 15:32           ` [devel] modules.conf Michael Shigorin
2003-08-12 15:37             ` Dmitry V. Levin
2003-08-12 15:50               ` 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=20030811135821.GA23310@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --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