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.
This commit is contained in:
Kay Sievers 2007-07-31 13:14:04 +02:00
parent 2457dbc1c6
commit 4beaed3652
8 changed files with 15 additions and 1 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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>

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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}"