[OE-core] [PATCH] busybox/mdev.conf: Ignore eMMC RPMB and boot block devices

Mike Looijmans mike.looijmans at topic.nl
Tue Nov 1 13:30:56 UTC 2016


eMMC devices may report block devices like "mmcblk0rpmb" and
"mmcblk0boot0". These are not actually block devices and any
read/write operation on them will fail. To prevent spamming error
messages attempting to mount them, just ignore these devices.

Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
---
 meta/recipes-core/busybox/files/mdev.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf
index 17e93da..4e9c23f 100644
--- a/meta/recipes-core/busybox/files/mdev.conf
+++ b/meta/recipes-core/busybox/files/mdev.conf
@@ -39,4 +39,6 @@ input/mouse.* 0:0 0660
 tun[0-9]* 0:0 0660 =net/
 
 [hs]d[a-z][0-9]? 0:0 660 */etc/mdev/mdev-mount.sh
+mmcblk[0-9]rpmb 0:0 660
+mmcblk[0-9]boot[0-9] 0:0 660
 mmcblk[0-9].* 0:0 660 */etc/mdev/mdev-mount.sh
-- 
1.9.1




More information about the Openembedded-core mailing list