1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

persistent device naming: also run on "change" event

This commit is contained in:
Kay Sievers 2008-03-14 23:18:19 +01:00
parent 9138bcba99
commit 58cfbcaea1
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# do not edit this file, it will be overwritten on update
ACTION!="add", GOTO="persistent_input_end"
ACTION!="add|change", GOTO="persistent_input_end"
SUBSYSTEM!="input", GOTO="persistent_input_end"
KERNEL=="input[0-9]*", GOTO="persistent_input_end"

View File

@ -2,7 +2,7 @@
# persistent storage links: /dev/tape/{by-id,by-path}
ACTION!="add", GOTO="persistent_storage_tape_end"
ACTION!="add|change", GOTO="persistent_storage_tape_end"
KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", IMPORT{program}="scsi_id --export --whitelisted --fallback-to-sysfs -s %p -d $tempnode", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst"

View File

@ -3,7 +3,7 @@
# persistent storage links: /dev/disk/{by-id,by-uuid,by-label,by-path}
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
ACTION!="add", GOTO="persistent_storage_end"
ACTION!="add|change", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices