chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extras: delete man pages for private udev tools
[elogind.git]
/
extras
/
cdrom_id
/
60-cdrom_id.rules
diff --git
a/extras/cdrom_id/60-cdrom_id.rules
b/extras/cdrom_id/60-cdrom_id.rules
index b06dafddb7ab8b72783177e56006ad2f8cef0fda..a3e8e3c7668faa93224c420db4c43282d352398c 100644
(file)
--- a/
extras/cdrom_id/60-cdrom_id.rules
+++ b/
extras/cdrom_id/60-cdrom_id.rules
@@
-1,3
+1,5
@@
-#
import optical drive properties
+#
do not edit this file, it will be overwritten on update
-KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]*", IMPORT{program}="cdrom_id --export $tempnode"
+# import optical drive properties
+ACTION=="add|change", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", \
+ KERNEL=="sr[0-9]*|hd[a-z]|pcd[0-9]|xvd*", IMPORT{program}="cdrom_id --export $tempnode"