From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] Enable all events for initramfs
Date: Wed, 14 Jul 2004 04:01:47 +0000 [thread overview]
Message-ID: <40F4B02B.8080002@ums.usu.ru> (raw)
In-Reply-To: <40F3C48F.30905@suse.de>
Hannes Reinecke wrote:
> Hi all,
>
> currently most driver events are not sent out when using initramfs as
> driver_init() (which triggers the events) is called before init_workqueues.
>
> This patch rearranges the init calls so that the hotplug event queue is
> enabled prior to calling driver_init(), hence we're getting all hotplug
> events again.
>
> Patch is relative to 2.6.7-mm6, but should apply to 2.6.8-rc1 also.
>
> Please apply.
This is probably a very good news.
I see the following application of it. Since no hotplug events are
dropped any more, the initramfs could save their type and environment in
files on a ramfs, and then remount that ramfs to some location
accessible by the main system. The information accumulated in these
files can be used for re-synthesis of events not handled because e.g.
/usr was not mounted.
This means that we can drop the udevstart program and *.rc files that
come with the hotplug package and replace them by playback of such
recorded events. This looks much cleaner, since right now the
reconstruction is imperfect.
I will try to implement this approach (i.e, create initramfs and modify
the hotplug and udev packages) during this week on a copy of Linux From
Scratch 20040702, and report the results here.
--
Alexander E. Patrakov
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2004-07-14 4:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 11:16 [PATCH] Enable all events for initramfs Hannes Reinecke
2004-07-13 11:16 ` Hannes Reinecke
2004-07-14 4:01 ` Alexander E. Patrakov [this message]
2004-07-14 6:24 ` Olaf Hering
2004-07-15 16:45 ` Alexander E. Patrakov
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=40F4B02B.8080002@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--cc=linux-hotplug@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.