mdev race conditions
Bernard Blackham
bernard at largestprime.net
Wed Jun 4 09:08:56 UTC 2008
On Wed, Jun 04, 2008 at 10:41:38AM +0200, Denys Vlasenko wrote:
> Try attached 2.patch. It adds mdev options -f SEQFILE and -t TIMEOUT_MSEC.
> If -f is not given, the behavious is unchanged.
Thanks, but this is not helpful as you can't get
hotplug/uevent_helper to pass arguments to mdev.
> After mdev is done, and if both -f was given and $SEQNUM is set,
> mdev will write $SEQNUM + 1 to SEQFILE prior to exit.
Bear in mind too that seqnum is a u64.
As outlined in the email I just sent to Mike, I'll try and do up an
mdevd tonight which does it cleanly.
Cheers,
Bernard.
More information about the busybox
mailing list