From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: coldplug scripts
Date: Sat, 20 Aug 2005 00:09:44 +0000 [thread overview]
Message-ID: <20050820000944.GA16689@wonderland.linux.it> (raw)
http://www.bofh.it/~md/debian/coldplug_0.0.tar.gz
Here I uploaded a preliminary (and TOTALLY UNTESTED) version of my new
coldplugging scripts (and hotplug-related udev rules).
The plan is to generate at boot time a set of synthesized hotplug events
which are as similar as possible as the ones which would be captured in
the initramfs by udeveventrecorder.
The implementation is an init script which will run the
/etc/hotplug/*.rc shell scripts. Each one which will synthesize the
events (I expect there are less than 70 on a typical system) and
dump them to files in /dev/.events/. Then the init script will use
udevinitsend to feed the events to udevd, which will use a few RUN
rules to load the relevant modules or user space scripts.
Even if implemented in shell the scripts appear to be very fast, so I
doubt that this will create performance issues.
--
ciao,
Marco
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
reply other threads:[~2005-08-20 0:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050820000944.GA16689@wonderland.linux.it \
--to=md@linux.it \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).