mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
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:
parent
2457dbc1c6
commit
4beaed3652
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user