summaryrefslogtreecommitdiff
path: root/etc/udev/rules.d
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/rules.d
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/rules.d')
-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
4 files changed, 8 insertions, 0 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"