summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev/files/udev-141-remove-devfs-names.diff')
-rw-r--r--sys-fs/udev/files/udev-141-remove-devfs-names.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/udev/files/udev-141-remove-devfs-names.diff b/sys-fs/udev/files/udev-141-remove-devfs-names.diff
new file mode 100644
index 000000000000..56501f828a0e
--- /dev/null
+++ b/sys-fs/udev/files/udev-141-remove-devfs-names.diff
@@ -0,0 +1,16 @@
+diff --git a/rules/gentoo/40-gentoo.rules b/rules/gentoo/40-gentoo.rules
+index 4751b51..91a7545 100644
+--- a/rules/gentoo/40-gentoo.rules
++++ b/rules/gentoo/40-gentoo.rules
+@@ -1,11 +1,5 @@
+ # do not edit this file, it will be overwritten on update
+
+-# old devfs path, removing this could break systems
+-# Bug 195839
+-KERNEL=="md[0-9]*", SYMLINK+="md/%n"
+-KERNEL=="loop[0-9]*", SYMLINK+="loop/%n"
+-KERNEL=="ram[0-9]*", SYMLINK+="rd/%n"
+-
+ # keep devices after driver unload
+ KERNEL=="ppp", OPTIONS+="ignore_remove"
+ KERNEL=="tun", OPTIONS+="ignore_remove"