String Substitutions
The following table describes the string substitutions that are commonly used with
the GROUP
, MODE
, NAME
,
OWNER
, PROGRAM
, RUN
, and
SYMLINK
keys.
String Substitution | Description |
---|---|
|
Specifies the value of a device attribute from a file under
|
|
The device path of the device in the |
|
Specifies the value of a device property, such as
|
|
Specifies the kernel name for the device. |
|
Specifies the major number of a device, such as
|
|
Specifies the minor number of a device, such as
|
|
Specifies the device file of the current device, such as
|
udev expands the strings specified for RUN
immediately before its
program is run, which is after udev has finished processing all other rules for the
device. For the other keys, udev
expands the strings while it's
processing the rules.