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: Tue, 29 Jul 2003 23:49:56 +0400
Message-ID: <20030729194956.GA32238@basalt.office.altlinux.org> (raw)
In-Reply-To: <m3k7a1xnlv.fsf@altlinux.ru>

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

On Tue, Jul 29, 2003 at 09:13:32PM +0400, Ed V. Bartosh wrote:
> Предлагаю несколько изменить схему формирования 
> modules.conf, включив в него только include-ы, а эти самые инклюды
> генерить каждой подсистеме (kudzu, lm_sensors, etc) отдельно. 
> Это по-моему логичнее, красивее и надежнее, каждая подсистема пишет
> только свой файл, а не переписывает общий.

Красивее и логичнее было бы сделать так, как описано в
http://bugs.altlinux.ru/view_bug_advanced_page.php?f_id=0001998

> В связи с этим у меня есть несколько простеньких патчей (патчи
> приатачены), которые могут быть небесполезны в данной схеме:
> 
> 1. Для автоматической генерации modules.conf.sensors, он позволяет
>    сделать что-нить типа этого:
> start()
> {
>     SYSCONF_LMSENSORS='/etc/sysconfig/lm_sensors'
> 
>     [ -f "$SYSCONF_LMSENSORS" ] || /usr/sbin/sensors-detect > /dev/null 2>&1 </dev/null
> 
>     return 0
> }
> ...
> ну, или что-нибудь более умное :) и автоматом получать дефолтную
> конфигурацию lm_sensors. 
> При условии, что в modules.conf будет соответствующий include :)

Кто будет звать этот start?

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

Это будет не обязательно в свете #0001998.


--
ldv

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

  reply	other threads:[~2003-07-29 19:49 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 [this message]
2003-07-30  7:01   ` Ed V. Bartosh
2003-08-11 13:58     ` Dmitry V. Levin
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=20030729194956.GA32238@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