Re: [dev] smdev (suckless mdev)

From: Christoph Lohmann <>
Date: Tue, 20 Aug 2013 18:46:45 +0200


On Tue, 20 Aug 2013 18:46:45 +0200 sin <> 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.


Christoph Lohmann
Received on Tue Aug 20 2013 - 18:46:45 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 20 2013 - 19:12:06 CEST