> and presumably one event for each and every partition. I also assume > when receiving an event to create /dev/sdb1, I should put a sleep loop > in the script that gets activated if /dev/sdb doesn't exist yet <G>.
To avoid this kind of race condition (due to the hotplug interface spawning helpers in parallel instead of sequentially), you can use s6-devd along with mdev. s6-devd just listens to the netlink interface and spawns helpers sequentially. http://www.skarnet.org/software/s6-linux-utils/s6-devd.html -- Laurent _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
