On Sat, 2010-01-30 at 13:05 -0500, Paul Dugas wrote: > I tried adding a PROGRAM setting to run a little script that looked to > count the /dev/ttyLogger1USB* devices had already been created and it > always returned 0. Are the device files and symlinks created in > parallel or in bulk at the end and thus this approach wouldn't work? > > I tried another PROGRAM that opened the port and polled the logger to > see what port this was (that's supported by the device's protocol) but > the device file didn't exist yet. Is there a way to trigger this > approach after the device file has been created? Is there a way to > temporarily create the device in the script instead? > > Anyone got a suggestion on how to solve this? You should be able to use IMPORT and $tempnode - see the udev(7) man page and, say, /lib/udev/rules.d/60-persistent-storage.rules for an example of where this is used. David -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html