Made suffix on persistent subdevice symlinks use underscore
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 20 Oct 2008 19:49:02 +0000 (19:49 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 20 Oct 2008 19:49:02 +0000 (19:49 +0000)
for consistency.

etc/udev/z99_comedi.rules

index 45824a990bf97aec5ecd2f72e7374af33f5b99e8..e8fa6e05f9aac764974c10ebad75faa9f6db871c 100644 (file)
@@ -14,7 +14,7 @@ ACTION!="add", GOTO="comedi_add_end"
 KERNEL=="comedi[0-9]*", KERNEL!="comedi[0-9]*_subd[0-9]*", SUBSYSTEMS=="pci", SYMLINK+="comedi/by-id/pci-$id"
 
 #persistent subdevice symlinks
-KERNEL=="comedi[0-9]*subd[0-9]*", SUBSYSTEMS=="pci", SYMLINK+="comedi/by-id/pci-$id-subd%n"
+KERNEL=="comedi[0-9]*subd[0-9]*", SUBSYSTEMS=="pci", SYMLINK+="comedi/by-id/pci-$id_subd%n"
 
 
 #The following line would automatically run comedi_config on main device file