ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] startup and standalone versions of systemd utilities.
Date: Tue, 9 Feb 2021 16:03:15 +0300
Message-ID: <20210209130314.GA2631@altlinux.org> (raw)
In-Reply-To: <20210208104618.ggpk5jbvvh7z2qzl@example.org>

On 2021-02-08 11:46:18 +0100, Alexey Gladkov wrote:

 >>> udevd требует systemd-utils. Разделение миров systemd и sysv
 >>> невозможно пока они оба используют udevd.
 >> Ну в общем-то выкинуть udev - совершенно не проблема... у меня,
 >> например, его просто никогда не было.
 >> % zgrep DEVTMPFS /proc/config.gz
 >> CONFIG_DEVTMPFS=y
 >> CONFIG_DEVTMPFS_MOUNT=y
 > Не путайте тёплое с мягким. udev уже давно не создаёт файлы
 > устройств.

Да ну? А как же надпись "populating /dev" при загрузке? Врет?

 > Для этого как раз используется devtmpfs. udev нужен для обработки
 > факта появления устройства и ещё некоторых эвентов ядра.

Если точнее, _был_ нужен во времена /sbin/hotplug - сейчас все
это можно получить от ядра через netlink socket откуда угодно,
поэтому CONFIG_UEVENT_HELPER в ядре можно даже не включать.

Кстати, что любопытно:

config UEVENT_HELPER
 bool "Support for uevent helper"
 help
 The uevent helper program is forked by the kernel for
 every uevent.
 Before the switch to the netlink-based uevent source, this
 was used to hook hotplug scripts into kernel device events.
 It usually pointed to a shell script at /sbin/hotplug.

этот самый /sbin/hotplug изначально планировался как шелловский
скрипт, а не кусок udev :-)


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


  reply	other threads:[~2021-02-09 13:03 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 15:23 Alexey Shabalin
2021-02-04 15:45 ` [devel] RemovePathPostfixes Dmitry V. Levin
2021-02-04 16:21   ` Alexey V. Vissarionov
2021-02-04 17:13     ` Dmitry V. Levin
2021-02-04 19:45       ` Alexey V. Vissarionov
2021-02-04 20:12         ` Vladimir D. Seleznev
2021-02-04 21:01           ` Alexey V. Vissarionov
2021-02-04 23:45             ` Paul Wolneykien
2021-02-05  1:31               ` Alexey Shabalin
2021-02-05  2:51                 ` Dmitry V. Levin
2021-02-05  9:58                   ` Alexey V. Vissarionov
2021-02-07 20:19                   ` Alexey Shabalin
2021-02-05  7:33                 ` Aleksei Nikiforov
2021-02-05 10:00                   ` Alexey V. Vissarionov
2021-02-05 12:14                     ` Sergey V Turchin
2021-02-05 12:17                       ` Sergey V Turchin
2021-02-05  8:54                 ` Paul Wolneykien
2021-02-05  9:15                 ` Sergey V Turchin
2021-02-05 10:13                   ` Alexey V. Vissarionov
2021-02-05 11:04                     ` Sergey V Turchin
2021-02-05  9:41                 ` Alexey V. Vissarionov
2021-02-05  9:19               ` Alexey V. Vissarionov
2021-02-05  9:25                 ` Sergey V Turchin
2021-02-05  8:05             ` Sergey V Turchin
2021-02-05  8:11               ` Sergey V Turchin
2021-02-05 10:17                 ` Alexey V. Vissarionov
2021-02-05 11:11                   ` Sergey V Turchin
2021-02-08  2:49                     ` Alexey V. Vissarionov
2021-02-08  8:40                       ` Sergey V Turchin
2021-02-05 12:10                   ` Vladimir D. Seleznev
2021-02-08  2:52                     ` Alexey V. Vissarionov
2021-02-08  3:32                       ` Vladimir D. Seleznev
2021-02-08  3:38                         ` Alexey V. Vissarionov
2021-02-08  3:46                           ` Vladimir D. Seleznev
2021-02-04 20:51         ` Sergey Y. Afonin
2021-02-04 20:58           ` Sergey Y. Afonin
2021-02-04 16:34 ` [devel] startup and standalone versions of systemd utilities Alexey Gladkov
2021-02-05  1:52   ` Alexey Shabalin
2021-02-05 10:55     ` Alexey Gladkov
2021-02-08  3:11       ` Alexey V. Vissarionov
2021-02-08  9:34         ` Vladislav Zavjalov
2021-02-08 10:03           ` Alexey V. Vissarionov
2021-02-08 12:52             ` Vladislav Zavjalov
2021-02-08 10:46         ` Alexey Gladkov
2021-02-09 13:03           ` Alexey V. Vissarionov [this message]
2021-02-09 13:39             ` Alexey Gladkov
2021-03-17 20:00       ` [devel] Разделение миров systemd и sysv Alexey Shabalin
2021-03-17 22:43         ` Alexey Gladkov
2021-03-19  8:45           ` Andrey Savchenko
2021-03-25 17:53             ` Alexey Shabalin
2021-03-25 16:52           ` Alexey Shabalin
2021-03-25 19:54             ` Alexey Gladkov
2021-03-17 22:43         ` Dmitry V. Levin
2021-03-25 17:28           ` Alexey Shabalin
2021-03-25 18:33             ` Leonid Krivoshein
2021-03-25 20:39               ` Michael Shigorin
2021-03-25 19:44             ` Konstantin Lepikhov
2021-03-25 20:31               ` Michael Shigorin
2021-03-25 19:36           ` [devel] dracut (Re: Разделение миров systemd и sysv) Alexey Sheplyakov
2021-03-26  9:19             ` Anton Farygin
2021-03-26  9:52               ` Andrey Savchenko
2021-03-26 11:04                 ` Anton Farygin
2021-03-26 12:42                   ` Andrey Savchenko
2021-03-26 15:14                     ` Anton Farygin
2021-03-26 11:27               ` Leonid Krivoshein
2021-03-26 13:14                 ` Nikolai Kostrigin
2021-03-26 11:13             ` Konstantin Lepikhov
2021-03-31 10:00             ` Alexey V. Vissarionov
2021-03-31 10:30               ` Denis Medvedev
2021-03-19  8:42         ` [devel] Разделение миров systemd и sysv Andrey Savchenko
2021-03-19 10:23           ` Sergey Afonin
2021-03-28 17:33             ` Sergey Y. Afonin
2021-03-25 17:44           ` Alexey Shabalin
2021-03-26  9:45           ` [devel] libsystemd (Re: Разделение миров systemd и sysv) Alexey Sheplyakov
2021-03-26  9:50             ` Andrey Savchenko
2021-03-26  9:59             ` [devel] libsystemd (Re: Разделение миров systemd и =?utf-8?b?IHN5c3Y=?=) Sergey Afonin
2021-03-26 18:43             ` [devel] libsystemd (Re: Разделение миров systemd и sysv) Arseny Maslennikov
2021-03-31 10:39             ` Alexey V. Vissarionov
2021-03-29 18:03         ` [devel] Разделение миров systemd и sysv Arseny Maslennikov
2021-03-29 19:24           ` [devel] /etc/sysconfig/{clock,i18n} Dmitry V. Levin
2021-03-31 10:48             ` Arseny Maslennikov
2021-02-08  3:08     ` [devel] startup and standalone versions of systemd utilities Alexey V. Vissarionov
2021-02-05  1:37 ` Alexey Shabalin
2021-02-05 10:24   ` Alexey Gladkov
2021-02-08 10:47     ` Alexey Gladkov
2021-02-09 10:42       ` Alexey Shabalin
2021-02-09 11:32         ` Alexey Gladkov

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=20210209130314.GA2631@altlinux.org \
    --to=gremlin@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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