Re: udev is too slow creating devices

From: Giacomo A. Catenazzi
Date: Mon Sep 20 2004 - 11:29:36 EST




Alexander E. Patrakov wrote:
>
Implementation of various logical primitives. E.g., I use GPRS and want to start pppd during the boot process (i.e., an always-on link), but after the following things:

1) /dev/ttyS0 has been created
2) /dev/ppp has been created
3) modules for line disciplines and PPP compression have been preloaded (e.g. by grepping modules.alias for tty-ldisc and ppp-compress) and are ready for use by pppd
4) firewall rules have been applied

How to "AND" these things together in a /etc/dev.d scriptlet?
and

5) /tmp is read-write
6) /var is mounted
7) log daemon is already running

but I think they can implemented with a waiting queue or other
user-space implementation.
Hmm wait, we will miss the event between udev loaded and
/var mounted and dev.d started!

ciao
cate

PS: I hope this discussion will start project of re-thinking the
boot/init.d method.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/