The parameters NAME and SYMLINK allow
the use of placeholders to substitute special values. A simple example
illustrates the procedure:
BUS=="usb", SYSFS{vendor}=="abc", SYSFS{model}=="xyz", NAME="camera%n"
The operator %n in the name is replaced by the number of the camera device,
such as camera0 or camera1.
Another useful operator is %k, which is replaced by the
standard device name of the kernel, for example, hda1.
You may also call an external program in udev rules and use the string that
is returned in the NAME and SYMLINK
values. The complete list of possible placeholders is described in the
udev man page.