]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox/mdev.conf: Ignore eMMC RPMB and boot block devices
authorMike Looijmans <mike.looijmans@topic.nl>
Tue, 1 Nov 2016 13:30:56 +0000 (14:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:17 +0000 (23:35 +0000)
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@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/busybox/files/mdev.conf

index 17e93da7c3c60da803290af5b15a274a8bb2cea8..4e9c23f14b9ffc30f2c5048d38c39c81a4e377fd 100644 (file)
@@ -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