diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-03-14 23:18:19 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-03-14 23:18:19 +0100 |
commit | 58cfbcaea1e97364f932bd146958b889ba8528e5 (patch) | |
tree | 6a6628e66557a649b6eba23996029ad8a8ccdf21 | |
parent | 9138bcba99ebf0498a43b106100cb0ffd3dc222e (diff) |
persistent device naming: also run on "change" event
-rw-r--r-- | etc/udev/rules.d/60-persistent-input.rules | 2 | ||||
-rw-r--r-- | etc/udev/rules.d/60-persistent-storage-tape.rules | 2 | ||||
-rw-r--r-- | etc/udev/rules.d/60-persistent-storage.rules | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/udev/rules.d/60-persistent-input.rules b/etc/udev/rules.d/60-persistent-input.rules index fbebe86244..34d5ef1557 100644 --- a/etc/udev/rules.d/60-persistent-input.rules +++ b/etc/udev/rules.d/60-persistent-input.rules @@ -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" diff --git a/etc/udev/rules.d/60-persistent-storage-tape.rules b/etc/udev/rules.d/60-persistent-storage-tape.rules index d2dbc71c60..9c68fdf1a1 100644 --- a/etc/udev/rules.d/60-persistent-storage-tape.rules +++ b/etc/udev/rules.d/60-persistent-storage-tape.rules @@ -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" diff --git a/etc/udev/rules.d/60-persistent-storage.rules b/etc/udev/rules.d/60-persistent-storage.rules index 68fe59fd95..990703cef3 100644 --- a/etc/udev/rules.d/60-persistent-storage.rules +++ b/etc/udev/rules.d/60-persistent-storage.rules @@ -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 |