Match the name of the event device\.
.RE
.PP
+\fBNAME\fR
+.RS 4
+Match the name of the node or network interface\. It can be used once the NAME key has been set in one of the preceding rules\.
+.RE
+.PP
\fBSUBSYSTEM\fR
.RS 4
Match the subsystem of the event device\.
based on the executable bit of the file permissions\.
.RE
.PP
-\fBWAIT_FOR_SYSFS\fR
+\fBWAIT_FOR\fR
.RS 4
-Wait for the specified sysfs file of the device to be created\. Can be used to fight against kernel sysfs timing issues\.
+Wait for a file to become available\.
.RE
.PP
\fBOPTIONS\fR
.PP
\fBlink_priority=\fR\fB\fIvalue\fR\fR
.RS 4
-Specify the priority of the created symlinks\. Devices with higher priorities overwrite existing symlinks of other devices\.
+Specify the priority of the created symlinks\. Devices with higher priorities overwrite existing symlinks of other devices\. The default is 0\.
.RE
.PP
\fBall_partitions\fR
\fBSYMLINK\fR,
\fBPROGRAM\fR,
\fBOWNER\fR,
-\fBGROUP\fR
+\fBGROUP\fR,
+\fBMODE\fR
and
\fBRUN\fR
fields support simple printf\-like string substitutions\. The
.PP
\fB$attr{\fR\fB\fIfile\fR\fR\fB}\fR, \fB%s{\fR\fB\fIfile\fR\fR\fB}\fR
.RS 4
-The value of a sysfs attribute found at the device, where all keys of the rule have matched\. If the matching device does not have such an attribute, all devices along the chain of parents are searched for a matching attribute\. If the attribute is a symlink, the last element of the symlink target is returned as the value\.
+The value of a sysfs attribute found at the device, where all keys of the rule have matched\. If the matching device does not have such an attribute, follow the chain of parent devices and use the value of the first attribute that matches\. If the attribute is a symlink, the last element of the symlink target is returned as the value\.
.RE
.PP
\fB$env{\fR\fB\fIkey\fR\fR\fB}\fR, \fB%E{\fR\fB\fIkey\fR\fR\fB}\fR