6

UDEV assign ATTRS{variable} to ENV{variable}

view full story
linux-howto

http://unix.stackexchange.com – I am writing my first udev rule. I read many how tos but can't find a way to assign ATTRS{variable} to ENV{variable} in order to have access to that variable from RUN like RUN+="/bin/mkdir/%E{variable}" because with RUN+="/bin/mkdir/ATTRS{variable}" it doesn't work. I tried to use $ATTRS{variable}, %ATTRS{variable}, ATTR{serial}, $ATTR{serial}, %ATTR{serial} with no success. The variable itself exists 100% thank you... (HowTos)