busybox: mdev: Use mdev.seq
authorBill Pittman <bill.pittman@ni.com>
Mon, 21 Jul 2014 16:53:46 +0000 (11:53 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Jul 2014 20:59:13 +0000 (21:59 +0100)
commit03e88987bffd79d49e66a31741a2b41cd2ec0f96
tree3714ab099a564b9c3b1fcab1e6e909d2cb036b80
parente73196bde291aceb54f8ed35439e94b743c4b4db
busybox: mdev: Use mdev.seq

/dev/mdev.seq exists to synchronize concurrently running instances of
mdev and to ensure that they execute in the proper order.  Without this
synchronization, it is possible to have inconsistent mount points, to
leak device nodes, or to have a node erroneously removed in rapid
hotplug scenarios.

Enable the use of mdev.seq by creating an empty /dev/mdev.seq at boot.

(From OE-Core rev: 3b256653ae9ab2cf56b21cb82a8bd2a562397b27)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/files/mdev