udev question: using external programs to name device
Hi all, I'm stuck on this udev rule. I want to use a shell script to name a device.
KERNEL=="sr0", PROGRAM="/etc/cazzette %k", SYMLINK+="%c"
This should name my device as /dev/cazzette_sr0, correct? For some reason, it's not working. Can someone give me a tip why it's not?
What I want to do is actually much more complicated. I want to eventually do something like PROGRAM="/etc/cazzette %p" and run the devpath through a bunch of find/cut/awk/sed/etc.