summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/udev.rules3
-rw-r--r--etc/udev/udev.rules.devfs3
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index b206503e1..c2b50eb90 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -49,4 +49,5 @@ REPLACE, KERNEL="ttyUSB0", NAME="pl2303"
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
CALLOUT, BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k", SYMLINK="cdrom"
-
+# device mapper creates its own device nodes
+IGNORE, KERNEL="dm-[0-9]*"
diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs
index 0d579a4dd..537d655a0 100644
--- a/etc/udev/udev.rules.devfs
+++ b/etc/udev/udev.rules.devfs
@@ -41,3 +41,6 @@ REPLACE, KERNEL="video[0-9]*", NAME="v4l/video%n"
REPLACE, KERNEL="radio[0-9]*", NAME="v4l/radio%n"
REPLACE, KERNEL="vbi[0-9]*", NAME="v4l/vbi%n"
REPLACE, KERNEL="vtx[0-9]*", NAME="v4l/vtx%n"
+
+# dm devices
+IGNORE, KERNEL="dm-[0-9]*"