On Tue, 20 Aug 2013 18:46:45 +0200 sin <sin_AT_2f30.org> wrote:
> Hi all,
>
> I've hacked together smdev[1]. It is basically mdev with
> a config.def.h.
>
> It does not currently support all of mdev's features.
>
> What do you guys think?

If it supports all the execution properties of mdev it would be perfect
for me to import it into nldev and make an nldevd, which would be the
true replacement for udevd.

Try to cache the result of regcomp(). This will speed up things in large
trees. For being a competitor. When designing any replacement for udevd,
keep in mind that due to that permission misdesign in Linux your daemon
has to manage some 10 thousand devices in a huge server in under a
minute. This can’t be done linearly and is why udevd keeps a queue
of worker processes.