Patchwork [1/1] udev-extraconf: blacklist /dev/dm-*

login
register
mail settings
Submitter jackie huang
Date July 3, 2013, 9:10 a.m.
Message ID <318c63c68a97b481a0ac0400dc84b1ea1fa426f2.1372842406.git.jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/52871/
State Accepted
Commit 9a6cf08afd81c95abf13e6cf5e43bb8cd777edd9
Headers show

Comments

jackie huang - July 3, 2013, 9:10 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

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>
---
 .../udev/udev-extraconf/mount.blacklist            |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/udev/udev-extraconf/mount.blacklist b/meta/recipes-core/udev/udev-extraconf/mount.blacklist
index 7c7d938..e493494 100644
--- a/meta/recipes-core/udev/udev-extraconf/mount.blacklist
+++ b/meta/recipes-core/udev/udev-extraconf/mount.blacklist
@@ -2,3 +2,4 @@ 
 /dev/ram
 /dev/mtdblock
 /dev/md
+/dev/dm-*