Re: udev is too slow creating devices

From: Ian Campbell
Date: Wed Sep 15 2004 - 09:38:40 EST


On Wed, 2004-09-15 at 14:55, Giacomo A. Catenazzi wrote:
> Old behaviour (modprobe "waits" for the creation of device):

I wonder if it would be feasible for modprobe (or some other utility) to
have a new option: --wait-for=/dev/something which would wait for the
device node to appear. Perhaps by:
- some mechanism based on HAL, DBUS, whatever
- dnotify on /dev/?
- falling back to spinning and waiting.

The first two sound nice since they avoid spinning and sleeping for a
second at a time, which just adds to the delay.

In addition a timeout of some sort to give an upper bound would seem
like a good idea.

Ian.

--
Ian Campbell, Senior Design Engineer
Web: http://www.arcom.com
Arcom, Clifton Road, Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom Phone: +44 (0)1223 411 200

-
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/