summaryrefslogtreecommitdiff
path: root/etc/udev
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
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')
-rw-r--r--etc/udev/rules.d/05-udev-early.rules2
-rw-r--r--etc/udev/rules.d/60-persistent-input.rules2
-rw-r--r--etc/udev/rules.d/60-persistent-storage.rules2
-rw-r--r--etc/udev/rules.d/95-udev-late.rules2
-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
8 files changed, 15 insertions, 1 deletions
diff --git a/etc/udev/rules.d/05-udev-early.rules b/etc/udev/rules.d/05-udev-early.rules
index ec94c35816..4c3055b626 100644
--- a/etc/udev/rules.d/05-udev-early.rules
+++ b/etc/udev/rules.d/05-udev-early.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
# sysfs is populated after the event is sent
ACTION=="add", KERNEL=="[0-9]*:[0-9]*", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
diff --git a/etc/udev/rules.d/60-persistent-input.rules b/etc/udev/rules.d/60-persistent-input.rules
index acf5ebe7d5..fbebe86244 100644
--- a/etc/udev/rules.d/60-persistent-input.rules
+++ b/etc/udev/rules.d/60-persistent-input.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
ACTION!="add", GOTO="persistent_input_end"
SUBSYSTEM!="input", GOTO="persistent_input_end"
KERNEL=="input[0-9]*", GOTO="persistent_input_end"
diff --git a/etc/udev/rules.d/60-persistent-storage.rules b/etc/udev/rules.d/60-persistent-storage.rules
index a6f0069358..a49321c5fc 100644
--- a/etc/udev/rules.d/60-persistent-storage.rules
+++ b/etc/udev/rules.d/60-persistent-storage.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
# persistent storage links: /dev/{disk,tape}/{by-id,by-uuid,by-label,by-path,by-name}
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
diff --git a/etc/udev/rules.d/95-udev-late.rules b/etc/udev/rules.d/95-udev-late.rules
index 6b79a24641..1755d0855c 100644
--- a/etc/udev/rules.d/95-udev-late.rules
+++ b/etc/udev/rules.d/95-udev-late.rules
@@ -1,3 +1,5 @@
+# do not edit this file, it will be overwritten on update
+
# event to be catched by udevmonitor
RUN+="socket:/org/kernel/udev/monitor"
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}"