X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fudev.xml;h=a948ea79a94b86ce69f20f826ff668c12eceb6d2;hp=db729378c5c81c4534c5c2e67296668ee65493ca;hb=0a6f50c0afdfc434b492493bd9efab20cbee8623;hpb=2b09983f94feeb04abde32e54a50fe80fc44b397 diff --git a/man/udev.xml b/man/udev.xml index db729378c..a948ea79a 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -1,5 +1,4 @@ - - + @@ -113,6 +112,13 @@ + + -= + + Remove the value from a key that holds a list of entries. + + + := @@ -255,7 +261,7 @@ Execute a program to determine whether there is a match; the key is true if the program returns successfully. The device properties are made available to the - executed program in the environment. The program's standard ouput + executed program in the environment. The program's standard output is available in the RESULT key. This can only be used for very short-running foreground tasks. For details, see RUN. @@ -272,8 +278,8 @@ - Most of the fields support shell glob pattern matching. The following - pattern characters are supported: + Most of the fields support shell glob pattern matching and + alternate patterns. The following special characters are supported: * @@ -300,6 +306,14 @@ any characters not enclosed are matched. + + | + + Separates alternative patterns. For example, the pattern string + abc|x* would match either abc + or x*. + + The following keys can get values assigned: @@ -720,41 +734,6 @@ - Hardware Database Files - The hwdb files are read from the files located in the - system hwdb directory /usr/lib/udev/hwdb.d, - the volatile runtime directory /run/udev/hwdb.d - and the local administration directory /etc/udev/hwdb.d. - All hwdb files are collectively sorted and processed in lexical order, - regardless of the directories in which they live. However, files with - identical filenames replace each other. Files in /etc - have the highest priority, files in /run take precedence - over files with the same name in /usr/lib. This can be - used to override a system-supplied hwdb file with a local file if needed; - a symlink in /etc with the same name as a hwdb file in - /usr/lib, pointing to /dev/null, - disables the hwdb file entirely. hwdb files must have the extension - .hwdb; other extensions are ignored. - - The hwdb file contains data records consisting of matches and - associated key-value pairs. Every record in the hwdb starts with one or - more match string, specifying a shell glob to compare the database - lookup string against. Multiple match lines are specified in additional - consecutive lines. Every match line is compared indivdually, they are - combined by OR. Every match line must start at the first character of - the line. - - The match lines are followed by one or more key-value pair lines, which - are recognized by a leading space character. The key name and value are separated - by =. An empty line signifies the end - of a record. Lines beginning with # are ignored. - - The content of all hwdb files is read by - udevadm8 - and compiled to a binary database located at /etc/udev/hwdb.bin. - During runtime only the binary database is used. - - See Also