]> err.no Git - systemd/commitdiff
persistent device naming: also run on "change" event
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 14 Mar 2008 22:18:19 +0000 (23:18 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 14 Mar 2008 22:18:19 +0000 (23:18 +0100)
etc/udev/rules.d/60-persistent-input.rules
etc/udev/rules.d/60-persistent-storage-tape.rules
etc/udev/rules.d/60-persistent-storage.rules

index fbebe86244c80625b096962cdd6406c14571b088..34d5ef1557640a7fc1021a5fc49e87fe1516272c 100644 (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"
 
index d2dbc71c60ab2b068d2336a929bd81cf3a5c86d3..9c68fdf1a13784146c260be3f0d6ad95cb53c408 100644 (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"
 
index 68fe59fd955b4711651fdf460435d798fcfd5e49..990703cef3ed52a7ddc8f76e41206d291c413ef8 100644 (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