X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.xml;h=5e5388da51cd691df38e56678f90b88ac5940e8e;hp=b2781b767d322893b849c7dd7b1c07388c479854;hb=27283c2fdaefd9c7fd557fd4663566eacccca33a;hpb=02adc0cbd637862f6e9cf8319c80def0fa31b4e7 diff --git a/udev.xml b/udev.xml index b2781b767..5e5388da5 100644 --- a/udev.xml +++ b/udev.xml @@ -341,11 +341,37 @@ - Import the printed result or the value of a file in environment key - format into the event environment. will execute an - external program and read its output. will import a - text file. If no option is given, udev will determine it from the executable - bit of of the file permissions. + Import a set of variables into the event environment, + depending on type: + + + + + Execute an external program specified as the assigned value and + import its output, which must be in environment key format. + + + + + + Import a text file specified as the assigned value, which must be in + environment key format. + + + + + + Import the stored keys from the parent device by reading + the database entry of the parent device. The value assigned to + is used as a filter of key names + to import (with the same shell-style pattern matching used for + comparisons). + + + + If no option is given, udev will choose between + and based on the executable bit of of the file + permissions. @@ -406,7 +432,7 @@ , The name of the device matched while searching the devpath upwards for - , and . + , , and . @@ -414,7 +440,12 @@ , - The value of a sysfs attribute found at the current or a parent device. + 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.