Common Assignment Keys
The following table describes commonly used assignment keys in rules.
Assignment Key | Description |
---|---|
|
Specifies a value for the device property
key, such as |
|
Specifies the group for a device file, such as
|
|
Specifies a set of variables for the device property, depending on type:
|
|
Specifies the permissions for a device file, such as
|
|
Specifies the name of a device file, such as
|
|
Specifies rule and device options, such as
|
|
Specifies the owner for a device file, such as
|
|
Specifies a command to be run after the device file has been
created, such as RUN+="/usr/bin/eject $kernel" ,
where $kernel is the kernel name of the
device.
|
|
Specifies the name of a symbolic link to a device file, such as
|
Other assignment keys include ATTR{key}
,
GOTO
, LABEL
, RUN
, and
WAIT_FOR
.