From: Ondrej Zajicek <santiago@mail.cz>
To: linux-hotplug@vger.kernel.org
Subject: Several udev questions
Date: Fri, 12 May 2006 20:00:07 +0000 [thread overview]
Message-ID: <20060512200007.GA9141@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 2409 bytes --]
Hello
I installed latest udev (091). It works nice, loading of all needed
modules took ~8 sec (old hotplug system took ~30 sec, udev 056 ~18 sec,
without any hotplug mechanism ~3 sec) and i have several questions and
notes:
1) When i start system, i mount /dev, started udevd and udevtrigger. I
don't explicitly copy (from /lib/udev/devices) or create any device
nodes. It looks like all needed nodes are created in this way, although
documentation (README) suggests copying some nodes before udevd start.
What is the correct way - is the documentation obsolete, or am i miss
something important?
2) What is recommended time of start of udevd? I think it should be
started early during boot process (i run it just after remounting root
to rw) to create all needed devices. But if i want to do logging, i have
to start syslogd before ulogd. But it is usually expected to run syslogd
more late, especially after mounting of other filesystems from fstab (in
case of /var on separate partition).
Maybe there should be something like kernel's dmesg buffer to store ulogd
messages generated before start of syslog.
3) When i insert CF (and other) media with partition table, there is no
hotplug event (for new partitions). I found some hacks like adding all
possible partitions for that devices. Is the correct solution for this
problem that kernel should send hotplug events in that case?
3) example configuration in /etc/udev/slackware has KERNEL= instead of
KERNEL==
4) MODE=644 for event devices (in /etc/udev/frugalware/udev.rules)
is pretty crazy.
5) What is a good place to load useful, subsytem specific but not
dependent modules like sd_mod for SCSI disks, lp for parport devices,
snd_pcm_oss for soundcards?
- in /etc/modules or something similar?
disadvantage - not very hot-plug.
- In module-init-tools (modprobe) configuration as install rule?
disadvantage - as there is no concept of subsystem membership so there
have to be one rule for one specific hardware driver, not one for class
of drivers.
- in udev.rules file?
I am not in mailing list so please cc me.
--
Elen sila lumenn' omentielvo
Ondrej 'SanTiago' Zajicek (email: santiago@mail.cz, jabber: santiago@njs.netlab.cz)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2006-05-12 20:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 20:00 Ondrej Zajicek [this message]
2006-05-13 17:14 ` Several udev questions Kay Sievers
2006-05-16 16:07 ` Andrey Borzenkov
2006-05-16 20:34 ` Darren Salt
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=20060512200007.GA9141@localhost.localdomain \
--to=santiago@mail.cz \
--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).