]> code.ossystems Code Review - openembedded-core.git/commitdiff
udev-extraconf: blacklist /dev/dm-*
authorJackie Huang <jackie.huang@windriver.com>
Wed, 3 Jul 2013 09:10:13 +0000 (17:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jul 2013 14:26:20 +0000 (15:26 +0100)
Do not mount /dev/dm-* by default via udev, this is the default
behavior for most distos and WRLinux4.x.

This resolved a problem with the sanity test failing due to seeing
the error while attempting to mount new logical volumes without fs.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/udev/udev-extraconf/mount.blacklist

index 7c7d9380025eb8a24e4fa23fe545470f84a91e56..e49349428bd3dc56a236d7960c812b6cf4147377 100644 (file)
@@ -2,3 +2,4 @@
 /dev/ram
 /dev/mtdblock
 /dev/md
+/dev/dm-*