summaryrefslogtreecommitdiff
path: root/etc/udev/suse
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-07-31 13:14:04 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-31 13:14:04 +0200
commit4beaed365266fc5927100c9634c603e039fcf7ed (patch)
treea27d86b5c4988d524c380314ebae7c3c97d0e224 /etc/udev/suse
parent2457dbc1c64d792551f08eec6e2d73f6fa68c045 (diff)
rules: add "do not edit" comment
Default udev rules are not system configuration for users to edit, we need to be able to replace them with a package update. Custom rules have to go into their own files.
Diffstat (limited to 'etc/udev/suse')
-rw-r--r--etc/udev/suse/50-udev-default.rules2
-rw-r--r--etc/udev/suse/64-device-mapper.rules2
-rw-r--r--etc/udev/suse/64-md-raid.rules2
-rw-r--r--etc/udev/suse/80-drivers.rules2
4 files changed, 7 insertions, 1 deletions
diff --git a/etc/udev/suse/50-udev-default.rules b/etc/udev/suse/50-udev-default.rules
index 1d57f0a836..4a3fe2c948 100644
--- a/etc/udev/suse/50-udev-default.rules
+++ b/etc/udev/suse/50-udev-default.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
# console
KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0666", OPTIONS="last_rule"
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0666", OPTIONS="last_rule"
diff --git a/etc/udev/suse/64-device-mapper.rules b/etc/udev/suse/64-device-mapper.rules
index e8af567e26..c6142ea115 100644
--- a/etc/udev/suse/64-device-mapper.rules
+++ b/etc/udev/suse/64-device-mapper.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
KERNEL=="device-mapper", SYMLINK+="mapper/control"
KERNEL!="dm-*", GOTO="device_mapper_end"
diff --git a/etc/udev/suse/64-md-raid.rules b/etc/udev/suse/64-md-raid.rules
index 6bbfd126df..02f27ee07e 100644
--- a/etc/udev/suse/64-md-raid.rules
+++ b/etc/udev/suse/64-md-raid.rules
@@ -1,4 +1,4 @@
-# md links hook into "change" events, when the array becomes available
+# do not edit this file, it will be overwritten on update
SUBSYSTEM!="block", GOTO="md_end"
KERNEL!="md[0-9]*", GOTO="md_end"
diff --git a/etc/udev/suse/80-drivers.rules b/etc/udev/suse/80-drivers.rules
index cf7157bead..e7ae8dc19e 100644
--- a/etc/udev/suse/80-drivers.rules
+++ b/etc/udev/suse/80-drivers.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
ACTION!="add", GOTO="drivers_end"
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}"